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

2 answers

0 votes
Christian Richard
October 26, 2018

Would be nice to put more name in the reporter field than one name

0 votes
Nic Brough -Adaptavist-
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 Champions.
October 26, 2018

You could add a new custom field for CC, or change the permissions to allow you to add "watchers" to it.

Christian Richard
October 26, 2018

It does not sound so obvious in JIRA.  I try to add more name on the reporter line but it does not want that and in the config there is no line to add another email field

 

But thank you for the answer.

Nic Brough -Adaptavist-
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 Champions.
October 26, 2018

Ugh, no, you don't want multiple reporters on a single issue.

CC fields and watchers are the way to include other people.

Like Florian Lindwehr likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events