Questions for Confluence license has expired.

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

Jira Cloud status to Jira On-Prem String field

 
1
0
-1

Hi,

We are trying to push the status from Jira Cloud into a string field in Jira On-Prem.

When I use a debug statement debug.error

("replica.status.name = ${replica.status.name}")

, the I see a string such as ‘Waiting’ or In Progress. But when I try to put that into a custom string field using 

“issue.customFields."Current Status" = replica.status.name”

I receive an error.

Do I need to convert the value to a string or something?

Thanks.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      The value is already a string, but you need to put it into the value attribute of the customField i.e.


      issue.customFields."Current Status".value = replica.status.name



      Please give it a shot and let me know the result. 


      Thanks

      Majid


        CommentAdd your comment...