You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
The automation is set to transition a parent issue to Selecting MO Tasks if its current status is Waiting for BA Tasks, when the issue’s sub-task is transitioned from Dev Task Assigned to Dev Task Completed.
It was working until I modified fields, screens and workflows. The error mentions a problem with the destination status, but I don’t see a problem with the status name, so I’m guessing there’s a hidden problem such as a screen missing an association.
Automation log error:
Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status):
TAST6-1025 (Waiting for BA Tasks - 10200)
Relevant piece of automation:
Relevant parent workflow statuses:
Relevant sub-task workflow statuses:
Hi @Phil Bustin
I hypothesize the problem is the rule is using the status id values behind the scenes. Let's try this:
Kind regards,
Bill
I had already tested re-entering the one destination status value, but I'll try what you suggested.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the error message, which mentions numeric identifier, the status listed (with numeric identifier) is the From status, not the To status. Also, is there a way of seeing the numeric identifier of a status to try to debug this?
Also, which statuses were you suggesting that I change back and forth in the automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes; you could export the rule to JSON and look at the details of the values used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that and didn't see an identifier for "Selecting MO Tasks", but then, I don't know how to use the tool, and I apparently don't have Visual Studio installed.
So far, I changed the status "Selecting MO Tasks" to another status that is connected by transition to "Waiting for BA Tasks", turned it on, published it, tested (same error), turned off, put back "Selecting MO Tasks", published, tested--same error. So since the error mentions "Waiting for BA Tasks", and not the actual destination status, I'll try changing the "Waiting for BA Tasks" status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Near as I can tell, I followed the procedure you outlined, but the error remains. When I changed the status from "Waiting for BA Tasks" to "Developer Assigned", there was no error, although of course the rule took no action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there another way of viewing the status numeric identifier, such as looking at the URL when viewing the status?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I changed the condition from
Issue matches JCL > status = "Waiting for BA Tasks"
to
Parent matches status = "Waiting for BA Tasks"
There was no error, but the sub-task condition "If Sub-tasks match status = "Dev Task Completed", that comes before the "Waiting for BA Tasks" status condition (the one that was mentioned in the original error) did not match the issue. Please confirm from the screen shots below:
Beginning of automation
The status of the only sub-task created by the parent issue
The Rule condition that is not matching
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The second branch of the rule worked, and I didn't see any difference between the first and second branch. However, it didn't work when I used the newer 'related issues' condition of the status, so I reverted to the JQL condition, for both branches, and now the first branch works. No clue as to why it didn't work all day until now, or why the JQL status condition works but the related issues status condition doesn't.
Automation second branch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to learn you got that to work...And, I have not had much success with the Related Issues Condition, so I normally stick to either JQL ones or advanced compare on specific issue/lookup issues fields.
The issue (no pun intended :^) with the related issues condition seems to be context-related when inside of a branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know! Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, seemingly the same as yesterday morning, the automation has inexplicably stopped working.
I'm now not sure which log message belongs to which condition or action. Below is a screenshot with my added arrows from this morning.
I wonder if I somehow changed one transition name to another some time ago, because unless the log message relates to the JQL condition, despite the message including the word "destination", the status name is wrong.
I sure would like to know if the message refers to the JQL condition or the Transition action, but either way, I don't understand how this could work and then stop working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And the answer is (obvious now--it was the only thing I changed): I had restricted the transition to the destination status--yesterday to Admins; today to a field value.
I removed the restriction, and the automation is working again.
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.