Forums

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

Automation rule - copy value from latest sub task

Nadeem Zakir September 15, 2023

Hi,

Is there an automation rule that I can create that takes the value of a previous sub-task custom field and copy it to its parent? 

For example, we have a parent issue with 3 identical sub-tasks and fields.  All issues, parent and sub tasks have a select list called “Result” with the values “Pass, Fail, Ignore”.

Sub task 1 has “result=pass”, sub-task 2 has “result=ignore” and sub-task 3 has “result=fail”.

The value for sub-task 3 (fail) copies itself to the parent issue field.  So both parent and sub-task 3 show the result as fail.  This rule is working fine, copying a value from the latest sub-task to a parent issue.

However, say we drop or delete sub-task 3.  We then want to update the value of the parent result of the last sub task, so in our case, sub-task 2 with result ignore.

Is this possible, any branch rule or clever JQL that can achieve this?

thanks

1 answer

0 votes
Peter DeWitt
Community Champion
October 1, 2018

Hey @Jon, Not sure if you have Jira Workflow Toolbox (JWT) but you should be able to do this with that add-on.  There are checks for Boolean Validation as well and Field Initialization.  You could simply use the isn't initialized check to accomplish this.  

-Peter

Jon
Contributor
October 1, 2018

are there any for cloud? or other ways to do it with out the add on? 

Joe Pitt
Community Champion
October 1, 2018

JIRA Suite Utilities is available on the cloud. It looks like what you actually want is a Condition; the field to be null to allow the transition to be executed. 

Peter DeWitt
Community Champion
October 1, 2018

Thanks Joe, JSU is the other one we use and just as good although the solutions are a bit different.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events