Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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!
Oct 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 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!
Oct 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events