Hey, failed to configure it right, or maybe it's impossible?
Situation:
issue1 causes
At some point issue2 got blocked by new issue4.
Technically, that means, that issue1 also blocked by issue4. Especially if issue1 is located in JSM, while 3 other issues are in internal Jira projects.
My team asks for automation, to link issue 4 and issue 1 as soon as 'blocked' link appeared.
Currently i'm linking task to itself (trigger issue), and i cant understand how to append to linked's issue other links.
Hi @Alexey
The following rule will link "issue 3" to "issue 1" when it is linked from "issue 3" to "issue 2". i.e using "blocks"
Colloquially: Your third issue blocking the second issue will be linked to the first one if the link "is blocked by" is created from the third issue towards the second.
The following rule will link "issue 3" to "issue 1" when it is linked from "issue 2" to "issue 3". i.e using "is blocked by"
Colloquially: Your third issue blocking the second issue will be linked to the first one if the link "is blocked by" is created from the second issue towards the third.
This should give you a preliminary idea. Feel free to experiment and test. If you need help, let me know.
Cheers,
Patrik
@Patrik Korovsky thanks for the reply, i wan unable to reproduce your automation.
First of all, if i enable both, they run both, if i make one, then either is blocked by / blocks will not work
Secondly, it just copy links between 1 & 2 into a 3rd task. Not 3 & 2 link into a 1st one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexey
Sorry to hear the automation did not work for you. I have not tested it.
So I tried testing it in hopes of finding the problem:
First I tested the automation that links "blocker" with "original task" when linking from "blocker" to the "this task is caused by" ticket. The test was performed using only the following automation, no others.
Initially, only the first and second tickets were linked. When the "Blocker" was linked to the "this task is caused by", it was also linked to the "Original ticket". It copied the links that existed in "this task is caused by".
The idea/goal was to copy the link that the second ticket has to the third.
"3" is linked to "2", then "3" copies the links from "2".
First ticket:
Second ticket:
Third ticket:
In doing so, I found that this automation is sufficient for both cases of linking from the second ticket to the third and vice versa. This should work with an infinite number of blockers.
The automation adds all linked tickets with link either "blocked" or "is blocked by" in addition to the one you add. Essentially following the blocking logic.
Note that this automation copies ALL linked issues from one ticket to another, not only the "blocked" issues. This does not strike me as a problem because tickets are inherently linked by being blocked, so logically they are linked in these other ways. Potentially this could be avoided with "IF" conditions and other "THEN" actions, but that would require more time on my part or someone really adept at this.
Please try again, it worked correctly for me. It is possible that the second automation interfered with the first one.
In "when" we define that this automation should work for both "blocks" and "is blocked by".
In "Then" we define that the ticket we are editing is the destination issue
Logic (Source) explanation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexey ,
trying to follow here. In looking at this it seems that the circled bit would be trying to add links that already exist? In other words it seems that "for linked issues" that exist in the trigger issue you are the trying to link the to the trigger issue. I may need to try this but before I do maybe you can explain exactly your goal?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, my goal is to link new blocker to existing 'original' task.
Scenario:
Issue1 is dependent on issue2, meanwhile issue2 is blocked by issue3.
So to resolve Issue1, you need to solve issue3, then issue2 and then report to the customer to validate the solution on issue1.
Right now, agents cant at glance see all dependencies in issue1, they see only "issue2 Caused by issue1"
They ask me to add an automation, which will add "issue1 blocked by issue3" as soon as someone set's "issue2 blocked by issue3" as issue3 in fact blocks both of them.
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.