I want to set up an automation in Jira so that when it is connected to a github PR, it creates a comment on that pull request that presents a link back to the issue. Currently I can only get to the github PR via the Jira automatically, but not vice versa. How would I go about setting this up? My organization has well over 100 repos so I can't just set it up individually for each repository.
Hi Jacob,
I can confirm the ScriptRunner Connect tool could help achieve this requirement.
ScriptRunner Connect is a web-based integration tool located here that allows you to connect your Atlassian instance to other tools in your organisation that have an HTTP based API, such as GitHub.
With ScriptRunner Connect you can easily create Managed Connections to both Jira Cloud and Github, tools we have built in support for.
Once you have done that, you can create a Workspace to build your solution. Here you can listen to Events from both Jira and GitHub. Once you have your trigger in place, you can script your solution, making use of the Managed API to easily access any endpoints you need.
Using this, you can create an integration that listens for the event when a Jira issue is connected to a Pull Request that creates a link to the PR on the related Jira issue.
If you would like to receive a demo of how the ScriptRunner Connect tool works, I can confirm that you can request one using this link.
I hope this information helps.
Regards,
Kristian
I work for Exalate.
You can automate this using Exalate, which facilitates bidirectional synchronization between Jira and GitHub. With Exalate, you can configure an automation that creates comments on GitHub PRs with links back to the corresponding Jira issues. It supports a centralized setup, so you won’t need to configure each repository individually. This approach will help scale the integration across your organization’s multiple repos.
Thank you.
Kind regards,
Mathieu Lepoutre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.