Hello and thank you for your support and suggestion.
I would like to create the following automation in Jira Cloud. I have Azure DevOps and would like to use webhooks, or if it should be possible otherwise, I would like to set that when a pull request is merged from the branch test into main and the build is then executed successfully, a customfield is written with the build number. Is this technically possible?
Thank you very much for your help.
Hi Henning,
In short you need to have the Jira issue key and if Azure Devops is able to perform a PUT request you can update a custom field on the Jira issue.
This is assuming you use Azure Devops for your code and builds and Jira for issue tracking?
How are you linking the pull requests with the Jira issues? Last time I checked there was no default integration between Azure Devops and Jira. Are you using a plugin or are you not linking them at all at the moment?
Hello Charlie,
thank you for your answer.
Exactly, I use Azure DevOps for my code and builds/pipeline and jira for issue tracking.
I am using the GitKraken Git Integration for Jira, which allows me to view the pull requests in the tickets.
But I haven't found a way to map in the ticket the build number of a specific branch that was merged into main, that's my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henning,
Jira automations can be triggered from a POST request: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Automationtriggers-Incomingwebhook
The problem is you need to porvide the issue keys in the payload. If you can extract the issue key from a commit message in Azure Devops you have your solution. I don't have access to an Azure Devops tenant myself anymore so I can't test it out for you.
But have you looked at this? The plugin you are using supports a trigger for pull requests. It should allow you to edit an issue based on that trigger: https://help.gitkraken.com/git-integration-for-jira-cloud/git-integration-jira-automation-gij-cloud/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.