How can I send repository name from github to Jira Cloud?
I am trying to set up a single connection to handle multiple repository.
A single Jira project ↔ Multi repositories in Jira.
I checked entity from Jira but I don’t see repo’s name in JSON.
I currently recognize its repository by github’s label, but seems it’s not appropriate way to get it done.
As Syed Majid Hassan rightly mentioned, this way you can use the value in an if block to take a decision as to what project this lands in and what issue type it is.
If your replica received in Jira does not contains the repo name, you can add it to the replica from the Github outgoing script by adding the following:
replica.repository = issue.repository
Then, once you receive the repo information in Jira, you can use the value in an if block to take a decision as to what project this lands in and what issue type it is.