Forums

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

How to replace old fix version with new one using Automation rule?

Saili
Contributor
May 28, 2024

There is a requirement in my project for replacing the Fix version of child issue with the EPIC's Fix version, when the Parent EPIC of that child issue is changed.
For eg. 

There are 2 EPIC

EpicA with fix version: FVerA

EpicB with Fix version: FVerB

If I move child issue from EpicA to EpicB then the fix version on it should automatically be replaced from FVerA to FVerB.

I have tried an automation rule which is working, but the problem is:

Instead of replacing the fix version, the other fix version is just added to it, so now it has 2 fix versions.

Please help :-)

2024-05-28_16h06_44.png2024-05-28_16h09_56.png

1 answer

1 accepted

2 votes
Answer accepted
Kalyan Sattaluri
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.
May 28, 2024

Hello @Saili 

In the branch logic, in your Edit issue step where you are assigning the fix version, when you click the 3 dots to the right, you have 2 options. One is to "set and another is to "Copy". 

You can either choose "set" so that existing value is overwritten, or if you have chosen "copy", I believe there is a checkbox which you have to uncheck "Add to existing"..

Both options should work.. (see screenshots)

Hope it helps. Thanks!

image.pngimage.png

Saili
Contributor
May 28, 2024

Thanks a lot! @Kalyan Sattaluri 

Like Kalyan Sattaluri likes this

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