Hello I am trying link issues through scriptrunner if they have matching custom fields but are two different issue types.
For example:
If issue type "A" ID # = issue type "B" ID #
then link issues with "has ID #"
Issue types A & B are custom issue types
ID # is a custom issue field.
Has ID # is a custom link
This also can be looked at as:
if issue type (A & B) ID # = each other
then link them with "has ID #"
Can someone please help me write this scriptrunner? It cannot be done with automation to my knowledge.
I believe using switch case will be convenient, readable and a bit more manageable in future. Take a look here on how to use it in Groovy. Did you search here on the community, there are plenty of examples.
Ravi
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.