My scenario:
- I flag the issues when there is a linked issue type Blocks is added to an issue
- There are scenarios where one issue is blocked by more then 1 issue.
I made this rule and this works fine when is a 1 to 1 scenario, but there is caveat when having more then one blocking one issue.
I could not figure out how to fetch / check if both linked issues are closed, then the rule could run and remove the flag from the issue.
For this I request help, please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to add a new condition after your first condition with the following requirement:
Related Issues condition
"related issues" > Linked Issues
"Link types" > blocks
"condition" > All match specified JQL
JQL: Status = Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer, but it didnt had the effect expected.
- The rule didnt remove the flag after moving the blocker issue to done - its ok
- The rule didnt remove the flag after moving the second issue to done - its not ok
Sounds that the linked (the blocked) issue was not found / touched in this way
Follow the screen shot
The 1683 is the issue flagged, and the last time the rule touched it was yesterday, with the old rule
Any other idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In fact, I believe you are missing including "is blocked by" in your "related conditions" and in your "branch".
This is because with the exception of "relates to", the other types of links have input and output vectors. blocks > is blocked by / causes > is caused by, etc.
Also, assuming my current issue is also flagged I've added a last branch to current Issue. See the rule:
Try to consider the values "blocks" and "is blocked by" in your branch and in your "related issues condition"
Let me know if it works for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THanks again, but the case is - I do need to look only to blocks links.
If I look to blocked by, Im transitioning the issue that has the flag itself to done, Its not the scenario.
I will listen transitions made in every issue, but the rule should be triggered only if that issue blocks something else.
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.