Help with Automation based on Version Update

Carl Solomon October 11, 2024

Hi Guys

 

I am looking to set a rule that allows the summary of the parent and child issues to be updated based on a version being updated.

Currently as a version is created, i create a parent that and a set of children all of whom have the summary set to {{version.name}} with the sub tasks having a suffix as well depending on the specific sub task

I want a rule that when the version name is updated it updates the summary of the parent and children while retaining their suffixes.

 

Any help would be useful please.

I have tried this, but i get an error when i attempt to use a comparison of version and fixversion

 

3 answers

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.
October 15, 2024

Hi @Carl Solomon 

As you have shown your rule, it is triggered on Version Updated.  And thus you see the error for the Issue Fields condition because there are no issues in scope. 

The rule would need to branch to the issues associated to the Fix Version to access them...and then any updates to the Summary may be done.  With such updates, your issue summaries will need to be formatted such that the old version name can be removed and the new one added.

 

Yet I wonder: what problem are you trying to solve by doing this?  That is, "why do this?"  Knowing that may help the community to offer suggestions for other approaches to solve that problem than replicating the version information in the summary field.

 

Kind regards,
Bill

0 votes
Marc - Devoteam
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.
October 11, 2024

Hi @Carl Solomon 

This will not work this way.

Try is with a {{smart values}} condition and compare {{issue.summary}} to {{version.name}}

0 votes
Carl Solomon October 11, 2024

Update Version Number.png

Suggest an answer

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

Atlassian Community Events