Hi,
I work with a lot of test cases and have automated much of the creation process. I now want to be able to automate the priority in order to change it when the issue moves to a new status and if the issue has linked issues.
ie:
Issue A has Issue B linked as a blocker or test. Issue A moves into In Progress status. Issue A's priority needs to change.
I can't seem to get any logic I try to work.
Hi @Mark Farmer , see if the following is close to your goal...
P.s. I see you are on Premium? If so I highly recommend trying out the AI feature for creating rules as I have found it quite useful.
Hi Jack,
I tried something similar and it was changing the priority of the linked issues rather than the ones where the status was changing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've asked if we can use the AI feature and I'm told I can't (some political machinations further up the hierarchy I suspect) :D
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.
Keep me posted if the above works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The above rule will only change the priority of the trigger issue not the linked issues. If you see something different please advise and share audit log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack, I've changed to this rule and now nothing's happening. The rule runs but it seems to think the ticket (CHDT-511) doesn't meet the criteria. The linked issues don't change now though so that's a bonus.
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.
Can you share the details of the condition component? Are you choosing a specific link type in that condition? Have you verified that the linked issues are of the type in the condition.
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.
They're all linked as 'tests' and that's the condition I've aligned it to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try changing the condition to be any link type and test?
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.
Hi @Mark Farmer ,
Based on the following:
ie:
Issue A has Issue B linked as a blocker or test. Issue A moves into In Progress status. Issue A's priority needs to change.
You can maybe try using the issue transitioned trigger followed by a condition that checks if there are linked issues (you can additionally specify to check for certain link types).
Lastly, if the condition passes, update the original/trigger issue > Priority field by using Edit issue action.
I'm not sure if that is something that you're trying to achieve. Feel free to share some additional details if I maybe missed the point.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobi,
I tried a similar approach but it was changing the priority of the linked issues. What I'm aiming for is changing the priority of the issues that are changing status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Farmer If I'm looking at the screenshot provided in another thread, this rule should update the Priority field only for trigger issue (issue that changed the status), and not the Priority fields of linked issues.
Can you share the most recent rule, together with the audit log, once is successfully executed?
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.
Apologies for the image surge Tobi but I thought it best to send everything relevant. @Jack Brickey to save duplication :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries @Mark Farmer !
By the looks of the audit log, the only 'checked' issue was CHDT-510.
Are you saying that all those linked issues in HE project were updated/their priority was changed? Can you check (and/or screenshot) issue history for those issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It may have been a different variation of the flow I'd tried previous(there's been so many!) using this flow, the priority on the 510 ticket doesn't change when moving to Selected for Execution. If I have another CHDT ticket linked, it does.
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.