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 :)
Hey, @Stephen Wright _Elabor8_ - 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.
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?
Hi @Stephen Wright _Elabor8_ - 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.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events