Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

How to add multiple field values in 1 remote text field

 
1
0
-1

I would like to configure the following:

The source project has 2 custom fields (Field1 is a multi select list and Field2 a single select list)

-Field1 - Value A, Value B

-Field2 - Value C

I would like to add the 2 field values in a multi line text field called “External Info”. The content of the multi line text field (External Info) should be:

Field1: Value A, Value B

Field2: Value C

  1. Javier Pozuelo

    Hello,


    Between which instances are you doing the synchronization? I assume you don't want it to be a bidirectional sync and only be done from Source project to external project, correct?


  2. Stéphane Thillay

    Hi,


    Knowing which platform you're working with would help.

    In the one I know, Salesforce, multi-select picklist are stored as semi-colon delimited text, so it is already a plain text that could be directly stored in the target text field.


    Regards,

    Stéphane

CommentAdd your comment...

1 answer

  1.  
    2
    1
    0

    The question was for Jira server to Jira cloud.

    Is solved the issue already. Thanks for helping me out.


    def detectedinrelease = replica."Detected in Release"*.name.join(";")


    issue.customFields."External Info".value = """\

    Detected in release = ${detectedinrelease}

    """

      CommentAdd your comment...