Skip to main content
1-Visitor
May 28, 2015
Solved

Adding text to Longtext

  • May 28, 2015
  • 1 reply
  • 1643 views

Hi Team,

When editing an Issue manually, the existing contents in the field (its a longtext with logging disabled) will be visible in Edit mode.

But when using CLI command, i'm getting only the option to overwrite existing value.

Is there an option to add content to field ?

*I tried storing the current value to a temp variable, add my new contant to the temp and use that variable to edit field - but this is not working in batch script when field length is big.

Regards,

Arun

    Best answer by KaelLizak

    Hello Arun,

    This functionality does not exist from the CLI for text fields.  The easiest course you have is to first extract the content of the field(s) you will edit, then use that content in your edit.  If I was going to do this sort of thing often, I would write a batch or shell script (depending on your OS) to expedite this.

    Regards,

    Kael

    1 reply

    KaelLizak16-PearlAnswer
    16-Pearl
    May 29, 2015

    Hello Arun,

    This functionality does not exist from the CLI for text fields.  The easiest course you have is to first extract the content of the field(s) you will edit, then use that content in your edit.  If I was going to do this sort of thing often, I would write a batch or shell script (depending on your OS) to expedite this.

    Regards,

    Kael

    akuruvila1-VisitorAuthor
    1-Visitor
    June 1, 2015

    Thanks for the reply Kael.

    I'm able to do this using batch file (using temp variable).

    Regards,

    Arun