Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create a subtask

Naman Mandli November 16, 2018

Hello,

 

I have a requirement to create a sub-task in following situation in groovy script:

Parent

-> When Parent moves to resolved status it generate Sub-task A

->While doing above transition, if Parent has value set to 'No' for a custom field called "Flag", then it will create another sub-task B and it will have link to Sub-task A.

Can someone please help to get the groovy script?

Thank a lot in advance. 

1 answer

Suggest an answer

Log in or Sign up to answer
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 Leaders.
November 17, 2018

Have a look at https://library.adaptavist.com/entity/create-a-subtask-and-link-to-parent-issue-in-jira - you can probably drop all the "link to parent" - you don't really need it, as there is an inferred link anyway.

TAGS
AUG Leaders

Atlassian Community Events