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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.