Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Azure Devops Webhook

Henning
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2023

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.

1 answer

1 accepted

0 votes
Answer accepted
Charlie Misonne
Community Champion
October 16, 2023

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?

Henning
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2023

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.

Charlie Misonne
Community Champion
October 17, 2023

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/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

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!
AUG Leaders

Atlassian Community Events