Forums

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

Is there a way to connect the Sprint field to the Fix version field via automation?

Alex Degregori
Contributor
January 25, 2021

I currently use a tool that can integrate with Jira's Fix Version field but need to sync that data to the Sprint field which my team uses. 

Is there a way via automation to...

  1. Create Fix Versions with the same name, when Sprints are created
  2. Update issues with the same Sprint when a Fix Version update comes along 
  3. And vice versa, update the Fix Version when the Sprint field is changed

Thanks for the help on this funky use case!

2 answers

2 votes
KAGITHALA BABU ANVESH
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.
January 25, 2021

Hello @Alex Degregori ,

Please check the below.

This is applies when an issue is in sprints and Fix version is empty , then create a new version with sprint name and Tag that issue with the "Fix Version" newly created.

image.png

 

Thanks.

Alex Degregori
Contributor
January 27, 2021

Thanks for the reply @KAGITHALA BABU ANVESH ! 

I was able to create automation to have Fix Versions get created as Sprints get updated on issues which is awesome!! 

The part that I am now stumped on now, is how to have the Fix Version get added to the issue that has the same name as Sprint (and vice versa, to cover for changes made on the Fix Version level). One thing to note is that I am looking to have Sprints and Fix Versions get synced on the issue-level no matter when the Fix Version is created. I'm, looking into using smart values during the edit field stage but might be a little over my head 😅

0 votes
mogavenasan
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.
January 25, 2021

Hi @Alex Degregori,

You can use Jira Automation:

1. Create Fix Versions with the same name, when Sprints are created 

2. Update issues with the same Sprint when a Fix Version update comes along 

3. And vice versa, update the Fix Version when the Sprint field is changed

I hope that this helps.

Thanks,
Moga

Jake Shanesy
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!
July 11, 2021

Hi @mogavenasan

 

Could you please expand on #2 for me?

I tried setting up an issue with the same sprint when a fix version update came along and am getting an error. It looks like Jira is expecting a number and cannot take a string value.

Screen Shot 2021-07-11 at 5.05.52 PM.pngScreen Shot 2021-07-11 at 5.06.03 PM.png

mogavenasan
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.
July 12, 2021

Heya @Jake Shanesy,

It looks like you are trying to map the Fix Version name (which is a string) to the Sprint field (which looks like expecting an integer).

You can test this theory by using the JSON object under the "More options", refer to the answers in this thread for some examples. You can hardcode the Sprint value with a String and ID - see which one works. Make sure the Sprint name and Sprint ID is from an existing Sprint.

I hope that this helps.

Thanks,
Moga

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events