Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Create a subtask



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


-> 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

0 votes

Have a look at - you can probably drop all the "link to parent" - you don't really need it, as there is an inferred link anyway.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events