Hello there,
I need to write automation rule for the case:
When issue blocking the issue is in Done, blocked issue should lose the red color (we identify so blocked issues).
i see the following rule:
to change "blocked by" into "related".
But I don't how to make this flow in Jira as i have no experience in automation
Thanks
Hi @Елена Елена
One easy way to do this with an automation rule is to remove the "blocked by" link and then add a new one for "relates to".
A more complicated approach would be to edit the link type, and that would require calling a REST API function using the Send Web Request action.
Kind regards,
Bill
Define Trigger:
The trigger for this rule would be when the status of the blocking issue transitions to "Done".
Define Conditions:
You may want to include conditions to ensure that the issue transitioned is indeed the one blocking other issues and that it's currently in the "Done" status.
Define Actions:
The action would involve updating the blocked issues that are affected by this transition to remove the red color or any other visual indicator you're using to identify blocked issues.
You would likely need to use a custom field, such as a label or a flag, to track whether an issue is blocked or not. Then, you would remove or update this field accordingly.
Here's a general outline of how you can set up this automation rule in Jira:
Trigger:
When an issue transition occurs.
Conditions:
Check if the transitioned issue is the one blocking other issues.
Check if the transitioned issue is in the "Done" status.
Actions:
Find all issues that are blocked by the transitioned issue.
Update the visual indicator (e.g., remove red color) for these blocked issues.
Please note that the specifics of implementing this automation rule may depend on the capabilities and limitations of the automation features available in your Jira instance. You might need to experiment and adjust the rule to fit your exact requirements and the functionalities provided by your Jira instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how to Find all issues that are blocked by the transitioned issue. ?
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.