Forums

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

Cloning sub-tasks using jira automation

Mary Mark
October 23, 2023

Hello Atlassian Community. 

Looking for some help to clone sub-tasks tickets from the parent ticket and then update a field values based on condition.

I am checking if the cloned ticked for a 2 level cascade field called category/sub-category contains the following values: Contracting Third Party - Change / NA to MGA transfer

If the new cloned sub-task ticket contains those values then update/edit field values:

{
"fields": {
"customfield_10182" : { "value": "Remun - Block of Business Transfers", "child": { "value" : "NA to MGA transfer"} }
}
}

 

However, this also updates and edits the category/sub-category of the original sub-task ticket but I only want it to apply to the new cloned sub-task ticket without changing original value of the sub-task ticket

For example:

original sub-task ticket contains values: Contracting Third Party - Change / NA to MGA transfer

New cloned sub-task ticket contains values: Contracting Third Party - Change / NA to MGA transfer (Rule checks to see if this is true, then update values to: Remun - Block of Business Transfers / NA to MGA transfer)

but do not update the original sub-task ticket.

 

This is my automation rule:image.png

 

Thank you.

M

1 answer

1 accepted

0 votes
Answer accepted
Deleted user
October 26, 2018

NM - I added a trigger to set the status to resolved when an issue was released.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events