Forums

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

Update Fix versions in tickets automatically when merging a PR

Martin Cigorraga
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!
August 15, 2025

Hi all,

I’m trying to automate a step in our workflow and could use some help.

 

The problem:
Whenever we merge a PR that fixes a Jira issue, the Fix Versions field has to be updated manually for each ticket. This step is often forgotten, and it leads to inconsistent data in Jira.

What I want to do:
Have Jira automatically populate Fix Versions when a linked PR is merged in GitHub, based on predefined rules — the best option I found so far is using a label assigned to the PR. This also helps us enforce some repository rules to ensure that if the fix versions label is not set, the PR can't be merged.

What I want to do:
Have Jira automatically populate Fix Versions when a linked PR is merged in GitHub, based on predefined rules — for example: release branch name, tag, label, or a configured mapping.

Why:

  • Removes the chance of human error

  • Keeps Jira data accurate and consistent

  • Saves time by eliminating repetitive manual work

 

I’ll share my current automation attempt below. Any guidance, examples, or pointers would be much appreciated.

Thanks in advance!

 

Screenshot from 2025-08-15 10-14-17.pngScreenshot from 2025-08-15 10-16-12.pngScreenshot from 2025-08-15 10-16-31.pngScreenshot from 2025-08-15 10-16-46.png

 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2025

Hi @Martin Cigorraga -- Welcome to the Atlassian Community!

This seems to be a duplicate of your question posted just a few minutes earlier.  Please consider closing this one (or ask the community managers to delete it) to help focus the suggestions.

Here is the earlier post, which already has suggestions:

https://community.atlassian.com/forums/Automation-questions/Update-Fix-versions-in-tickets-automatically-when-merging-a-PR/qaq-p/3090384

Thank you!

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events