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.
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.
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across Jira Cloud instance. 📢 Get y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events