# Sync Jira with Github

**URL:** <https://community.exalate.com/t/sync-jira-with-github/4146>\
**Category:** General Questions\
**Tags:** cloud-jira, cloud-github, migrated\_question\
**Created:** [November 4, 2024, 6:34am UTC](https://community.exalate.com/t/sync-jira-with-github/4146 "2024-11-04T06:34:12Z")\
**Posts on this page:** 3\
**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:34am UTC](https://community.exalate.com/t/sync-jira-with-github/4146/1 "2024-11-04T06:34:12Z")

</div>

_Originally asked by Dominic Lindner on 16 January 2020 [(original question)](https://oldcommunity.exalate.com/questions/8553005)_

* * *

Hello Exalate Team,

We use since a few days Exalate to Sync our Github with Jira. We used before just Github and we want to sync it now with Jira. We use the Trial Key and we are willing to buy it if you can help us with some points:

How we can sync the Users (all Usernames are Exalate)  
How we can Sync Screenshots (they are never in the sync)  
How we can Sync the Description (Markdown) correctly (the format is killed)  
Is there a way to a an automatic sync for specific rules?

Thanks!Quelle: [Jira Cloud](https://oldcommunity.exalate.com/pages/viewpage.action?pageId=3703235)_(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:34am UTC](https://community.exalate.com/t/sync-jira-with-github/4146/2 "2024-11-04T06:34:20Z")

</div>

_Answer by Dominic Lindner on 04 February 2020_

Thanks! I attach a screenshot for Number 3 (Description Sync). Thanks!

You can find it here; [https://cloud.owncloud.com/index.php/s/3e1vGq6qt2SzJcu](https://cloud.owncloud.com/index.php/s/3e1vGq6qt2SzJcu)

Thanks for help!

* * *

---

<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:34am UTC](https://community.exalate.com/t/sync-jira-with-github/4146/3 "2024-11-04T06:34:20Z")

</div>

_Answer by André Leroy-Beaulieu Castro on 16 January 2020_

Hi Dominic,

Thanks for raising this question. First of all, can you send over your current Github and Jira scripts? a screenshot will be enough.

1. **User syncing:** if you are looking to synchronize the reporter/assignee you can do something like this:

**Outgoing (Github):**

```auto
replica.assignee = issue.assignees

```

**Incoming (Github):**

```auto
def remoteAssignee = nodeHelper.getUserByEmail(replica.assignee?.email)
if(remoteAssignee){
  issue.assignees = remoteAssignee
}

```

**Outgoing (Jira):**

```auto
replica.assignee = issue.assignee

```

**Incoming (Jira):**

```auto
def remoteAssignee = nodeHelper.getUserByEmail(replica.assignee?.email)
if(remoteAssignee){
  issue.assignee = remoteAssignee
}

```

The same would be enough for the reporter field, except the field is called “user” in Github.

```
   2\. **Screenshots:** Exalate does not support attachment synchronization unfortunately.

  3\. **Description with correct format:** Can you add a bit more context? Maybe attach some screenshots of how it should look and how the description is looking right now.

  4\. **Automatic sync for specific rules:** We call this a "trigger", we have a documentation page that explains this in detail, check it out: <https://docs.idalko.com/exalate/x/XwOOAQ>

```

Thanks,

André

* * *
