# Jira Comment User Sync to Zendesk

**URL:** <https://community.exalate.com/t/jira-comment-user-sync-to-zendesk/4250>\
**Category:** General Questions\
**Tags:** onpremise-jira, zendesk, migrated\_question\
**Created:** [November 4, 2024, 6:41am UTC](https://community.exalate.com/t/jira-comment-user-sync-to-zendesk/4250 "2024-11-04T06:41:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:41am UTC](https://community.exalate.com/t/jira-comment-user-sync-to-zendesk/4250/1 "2024-11-04T06:41:57Z")

</div>

_Originally asked by Mark Adkins on 10 June 2020 [(original question)](https://oldcommunity.exalate.com/questions/11339865)_

* * *

We have a user setup in Zendesk called “Jira Proxy”. When Jira syncs comments back to Zendesk, they come from “Jira Proxy”. We can’t tell which user in Jira added the comment. Is there a way to fix this or is there a way we can automatically add the username to the comment so Zendesk knows who made thee comment?Source: [Jira Server/Datacenter](https://oldcommunity.exalate.com/pages/viewpage.action?pageId=3703137)_(old community)_

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:41am UTC](https://community.exalate.com/t/jira-comment-user-sync-to-zendesk/4250/2 "2024-11-04T06:41:58Z")

</div>

_Answer by André Leroy-Beaulieu Castro on 10 June 2020_

Hi Mark,

In the receiving end you can use this helper method to decide what parts of the comment you want shown:

```auto
issue.comments = commentHelper.mergeComments(issue, replica,                      
                    {
                       comment ->
                       comment.body =
                          "[" + comment.author.displayName +
                                  "| mailto:" + comment.author.email + "]" +
                                  " commented: \n" +
                          "{quote}\n" +
                          comment.body + ";\n" +
                          "{quote}\n"
                    }
)

```

Let me know if this answers your question, more info can be found in the following link:

[https://docs.idalko.com/exalate/x/MgAk](https://docs.idalko.com/exalate/x/MgAk)

Thanks,

André

* * *
