Hi,
Here is my use case:
Issue A is linked to issue B with "mother of" link
A > B
I create issue C as "daughter of" issue A
A > C
Could I automatically link B and C as "related to" with a post-function on the Create transition ? And through an Edit action ?
B <--> C
I have ScriptRunner, if needed.
Thank you for your help,
Regards,
Camille
Im certain you can Camille,
The first bit of your script, you will have to look at the parent ticket and find all tickets that are linked with that one. Once you get that back, probably in a list form, the other bit of the script will be to create a link between the parent ticket and all tickets resulted from that list.
I Have a look at the Adaptavist Library website.
https://library.adaptavist.com/
Its a website with plenty of groovy scripts you can use in your ScriptRunner. I'm convinced you will be able to find a script that would help you in your journey.
This one for example, might help: https://library.adaptavist.com/entity/add-or-update-the-issue-link-for-an-issue-in-jira
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.