I created a rule from the library (When all sub-tasks are done → move parent to done) and used it as is, without modification - and it works.
The rule closes parent tickets when subtasks are done. To do so I creates transitions from all other workflow statuses to Done so that automation could perform the transition. Also, the transition uses a post-function to set the resolution value automatically.
So as I mentioned, the rule works - the transition takes place and the resolution value is set, but errors are appearing in the audit log for the automation rule. I have not been able to find an answer anywhere.
So in case anyone is asking why I am posting another similar question, while I have found similar problems in the community - this seems more common than I would have guessed - they are not the same set of circumstances, and also, none of the posts I found were resolved. I would love to know what's actually happening.
Resolution is definitely missing from the edit screen. That would make it editable, wouldn't it? Resolution only appears on the resolution screen.
This project was fine until I added an automation rule.
This is just a standard Software project. Nothing special.
Thank you for replying though - I'm really confused here!
It looks like it's not a major issue, but most likely there is a transition screen from the parent issue that needs to be filled out when you push it to done.
I would recommend the following:
1. Since you are using a post-function to set the resolution in the parent, remove the transition screen from the transition.
Sometimes, I find that Project Automation and Workflows post-function conflict with each other.
I suggest the following then:
1. Remove the post-function in the workflow and set the resolution in the automation.
2. I would also add a condition after the status trigger to check that this only applies to Sub-tasks.
Hi @Rob Horan
One possible cause of this symptom is when using a team-managed project (formerly called next-gen) and the team has created a custom field which duplicates another field's name.
If this is a team-managed project, please check if there are 2 Resolution fields in the project.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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