My goal: Create an automation rule to close all sub-tasks in a story when the Story issue is closed.
I get an error in the audit log after running. I've attempted many tweaks but the error message is always the same and I'm in need of another set of eyes.
Audit 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):AR-903 (To Do/Backlog - 10002)
Here is my Rule:
Hi @Kirk, Becky
The rule itself looks fine.
For this error, simple first checks can be to see if there is a restriction or limitation in the workflow stopping automation from closing the sub-tasks - for example:
^ Checking out the workflow and what might be missing from the rule will help decipher if this is just a tweak to the rule, workflow - or both!
If all of these check-out, let us know so we can advise further :)
Ste
Hi @Kirk, Becky
In addition to what Stephen suggests...
Please consider adding a Condition after the Trigger and before the Branch (For Sub-Tasks) to confirm that the issueType matches what you expect: Story.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, @Ste Wright - I have the same error. I have set the resolution to done when sub-tasks are moved to done. This works fine. The issue I'm having is when all the sub-tasks are moved to done then the story itself doesn't close and the automation rule fails. I'll share the automation rule details and the workflow details as well.
Looking Forward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recreated this rule and it works for me.
Is that Workflow above for Sub-tasks or Stories?
I'd be checking...
If none of these are the issue, could you provide a screenshot of this rule's audit log - in particular, what error it provides when it fails?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright - Thank you for your reply. The workflow is same for story and sub-tasks.
For Resolution, I have created and added a post-function that whenever a sub-task is moved to done status. a strikethrough appears on the task confirming that the sub-task is completed.
I have added some validators and conditions but I don't think it should affect the automation rule I have applied.
Of course the story can't move to done status unless all the sub-tasks under that story are completed and moved to Done but as soon as my sub-tasks are moved to Done Status, my story should close automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Opps..wrong thread I posted in
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you post this one in the correct thread? That suggestion seems unrelated to the question about an automation rule closing sub-tasks.
Thanks, and best regards,
Bill
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.