Hello,
I'm trying to create an automation for linked bugs' severity.
If the linked issue type is "Blocking/Is Blocked By", check the severity of both bugs. If the severity of the blocking bug is lower than the severity of the blocked bug, match the severity of the blocking bug to the severity of the blocked bug.
The use case is that we have critical bugs which are blocked by, let's say, medium bugs, but if a critical bugs is blocked, then the blocking bug should be critical as well.
Thanks
A few questions...
Ste
Hi @Ste Wright ,
The severity field is a single select drop down list with 6 options: Blocker, Critical, High, Medium, Low & Open.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use IF/ELSE rules for this, but it's going to be a signifiant number as you'd need to compare every possible combination of Severity across source/destination.
I've found an alternative using the Custom Field's Option ID - it visualises the ID as a number, then uses advanced compare conditions to check if the ID is higher/lower on the source or destination issue, and sets the Severity accordingly.
---
Prerequisites
The rule will compare the Option IDs to decide which issue to edit. You need to find out if Blocker's Option ID is higher or lower than Open - eg.
To confirm this information:
For the rule below, I've assumed Blocker is a lower ID number than Open
---
The Rule
---
How it works:
---
Quite a bit of complexity here; I'd suggest testing it out, and letting us know if it works for you :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a couple of questions to help clarify your scenario and possible solutions. How would you answer these:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste Wright WOW! Thank you so much for such a detailed answer.
I got stuck at verifying the Option ID, I hover over the options and nothing comes up.
Any ideas?
Also, I wanted to verify the solution. If the destination (blocking bug) is lower then the source (blocked bug), then I'd like the destination to match the source.
If not, I'd like for them both to stay the same.
Is that the way you wrote the solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy I'll keep it simple for now, no chain of issues, only 2 issues linked to one another. Also, there's no need to retain the original severity.
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 hover over the Edit hyperlink alongside each option, which is in the Actions column. I've edited my previous response to clarify this!
I'm also assuming this is a shared global custom field - if it's a Team-managed field, you'd need to likely use the API to find the Option IDs.
Although I'd encourage you to create this as a global custom field in that scenario and place it on each Team-managed Project, to make it possible to use this rule cross-Project :)
Ste
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.