I have a Create Issue on Transition Post Function that will create multiple issues based on a multiple values in a custom field.
For Example: Issue X is transitioned from 'In Draft' to 'In Design' >> this creates two issues on separate boards.
is there any way to automatically relate Issue A & Issue B to each other?
It seems logical that if two issues are blocking the same original issue, that they'd be linked together as 'related to'.
I cannot figure out how to make this happen, and I'm using the Automation for JIRA addon.
Any help would be greatly appreciated.
Hi @Wade Sturman ,
First you would need an add-on like JIRA Misc Workflow Extensions or Scriptrunner for this.
Next, have a look at the following pages for samples on linking issues:
The above are just samples and you could find more on the community based on older questions though you need to be familiar with Groovy scripting.
Cheers.
Hey @Ismael Jimoh , thank you so much for the response! I have a couple clarifying questions to make sure I understand your comment.
I hope this makes sense, and thank you for your help!
Wade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Wade Sturman,
The link shared is to serve as a sample for linking issues. You would still need to create the issues separately.
If I am to start, I would focus first on creating an issue via the post function and then look at how to link them as the next step. (Usually when these issues are created, if they are created in the same project, their issue keys should follow each other.)
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response @Ismael Jimoh , that makes sense. It's not too hard to create multiple issues from a post-function, but it seems incredibly challenging to actually tie these issues together. Because they're going to be on different projects in most cases, i don't think we can rely on the issue keys following each other.
I'll see if I can do this with two separate post functions in the same transition.
Thank you!
Wade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.