Questions for Confluence license has expired.

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

Jira tagging question

 
1
0
-1

Hi,

I have a script integration between zendesk and Jira.
In the comments sent from Jira, when tagging a user, we get the id instead of the name... How can we send the name?

I am using the following script on Zendesk side:

issue.comments = commentHelper.mergeComments(issue, replica, {
comment ->
comment.internal = true
comment
}
)


I checked this doc but was not useful. 

The tagged user from Jira is not in Zendesk.

I am sending the comment from Jira as follows:


Outgoing source (in Jira):


replica.comments = issue.comments




Incoming source (in Zendesk):


issue.comments = commentHelper.mergeComments(issue, replica, {

  comment ->

    comment.internal = true

    comment

  }

)



How can I adjust it, that if Jira comment is tagging a user from Jira, then I want to replace the tagging with the name of the user? 

For example, Jira comment is:

Hi @Hashem


The Zendesk comment will show:

Hi Hashem


Hopefully my issue is clear now. Please keep me informed if you need any more details.


    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi Sonal Otwani 


      That helped and the client's scenario was addressed accordingly. Thank you!

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Jillani Fazal ,


        Here is the related question, can you please take a look meanwhile we are trying whole usecase end to end?


        How to handle mentions with accountId in a Cloud to Server sync


        Thanks,

        Sonal

          CommentAdd your comment...