Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why is an automation rule showing "Unknown fields set during transition" errors in the log?

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.

Capture 2021-05-03 at 1.16.18.pngCapture 2021-05-03 at 1.17.17.png

3 answers

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.

Best regards,

Bill

0 votes
Fabian Lim Community Leader May 03, 2021

Hi Rob,

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.

Hi Fabian,

Thank you, but there is no screen in use.  That's why the post-function to set resolution is used.

Capture 2021-05-03 at 9.57.00.png

Fabian Lim Community Leader May 03, 2021

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.  

0 votes
John Funk Community Leader May 03, 2021

Hey Rob - I have never seen that with the Resolution field before. What type of project is this?

Maybe the Resolution field is missing from the Edit screen?

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!

John Funk Community Leader May 03, 2021

Do you have any conditions on the transitions to Done?

John Funk Community Leader May 03, 2021

Ah, I bet your Automation is clearing the Resolution field. Can you check the history of the issue to see what is happening with that field?

Its not, the history and activity all look good.  Honestly, from the looks of it, everything is working as designed, but there are errors

John Funk Community Leader May 03, 2021

Is the Resolution field actually getting updated? 

I apologize for not replying way back then - and now I can't remember.  It was worked out but I forget how :(

I will try to find the answer and update this page.

Like # people like this

@Rob Horan We're seeing the same thing for transitions that are not setting resolutions (e.g. Backlog -> To Do) It seems that all transitions performed by the automation complain if there's no screen with a resolution. If you found/have a fix I'd love to know. 

John Funk Community Leader Jan 21, 2022

Hey @Matthew Knatz  - Automation is not going to be able to call a transition screen. So you need to add another transition to the status being used in your automation rule and set the values that would be done through the screen. Then I would put a condition on the transition so that only the group atlassian-addons can execute it. 

@Rob Horan  - any update?

Like Fabian Lim likes this

@John Funk I’m actually not setting any fields, just kicking the issue to a new status and adding a comment. I don’t want to thread hijack, so if it’s better for me to start my own thread with my automation screenshot I’m happy to do so

John Funk Community Leader Jan 21, 2022

@Matthew Knatz - You should probably do that. And put in a much detail as you can about what you are trying to do.  :-)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

807 views 24 28
Read article

Community Events

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

Events near you