Hi guys,
I have project A, B, and C. Im trying to create an automation rule in project A which creates an issue in project B and another issue in project C.
I also want to link the issues in all directions: A-B & A-C & B-C.
The links between A-B and A-C work by using "Choose fields to set..."
The problem I'm facing is the link between the newly created issues in project B to C.
Is it possible to create these links? I believe I need to create a variable and use JSON, so I have already expanded my automation rule to this:
When I do this, I create a link between B to C. Yay! But the link between A and B won't work anymore :(
I believe I'm on the right track with the variable and JSON. Do I have to put JSON in the action "Create (2nd) issue" (I think I've tried it before but it didnt work either)? Does it have to be in a new action at the bottom in the action "edit fields"? Is something else missing? Is the structure off?
Any help is much appreciated! :)
Hi @Philip Witt -- Welcome to the Atlassian Community!
The structure of your complete rule will determine if this scenario is possible. To confirm this, please post an image of your complete rule in one single image for context. (This may be captured with an image capture tool or browser add-in for scrolling-page capture.)
Until we see that information...
The keys for a scenario like this are:
Kind regards,
Bill
Hi Bill, thank you for your reponse! :)
Scope is something I havent thought about yet, right! However, since the creation of the issues and some of the links work, I dont think this is the main reason for the problems I am facing. However, I have the necessary Jira site admin permissions if needed.
I have two versions of the automation rule by now.
#1
The first automation rule has JSON as part of the second "And: create a new..." action.
--> Triggering this automation rule will create the two issues succesfully. However, I am missing the link between project A and project B. The links between A and C as well as B and C are there.
#2
This automation rule has JSON in a separate action "And: edit issue fields".
-->Triggering this automation rule will create the issues successfully. Now, however, I am missing the link between B and C, which are the newly created issues.
Both automation rules share the same setup for the variable:
Unfortunately, I can find a way to create links in all directions: A-B & A-C & B-C. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information, and I still believe this can be done in one rule (if the intent is to manually trigger it and create all the issues at once.
If you save the key after each issue is created, and then use branch on JQL, this will work. For example:
If you do not create all of the issues (A, B, and C) you could add additional conditions to check if the variables have a value before trying to link them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.