Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Automation - Unknown fields set during transition

I have automation set up so that when an issue transitions into status X it will automatically close it if a certain field is set. When I look at the audit log, sometimes it completes with an error (see below). The "Resolution" field is not used by the rule at all, so why is it complaining about it?

 

The audit log has this in it:

 

Action details:

Issue condition

The following issues passed:

    EKM-5064

Transition issue

Unknown fields set during transition. Field may not be on transition screen. Fields ignored -

     Resolution (resolution)

Transitioned issues to

     Closed

 

3 answers

0 votes
Clark Everson Community Leader Dec 07, 2020

How is the automation set? And are their workflow triggers that set fields?

I would check the automation and possibly share that as well.

the only other place based on what I see is the workflow itself. This automation seems to trigger a transition change to closed. It appears that resolution is set to do something(which it should do something). You should make sure the resolution is still being set.

if that isn’t it I think we need more information though.

0 votes

Hi @phil.americus 

The error seems to be indicating towards an issue with the transition screen.

As suggested by @Clark Everson check your workflow transition's post function, check if some field values as set and are those values there in the transition screen or do you even have a transition screen?

Ravi

@Clark Everson , @Ravi Sagar _Adaptavist_ 

Here's the post functions that I have:

 

To state X:

The following will be processed after the transition occurs

  1. The Assignee of the issue will be set to Phil Americus.
  2. Set issue status to the linked status of the destination workflow step.
  3. Add a comment to an issue if one is entered during a transition.
  4. Update change history for an issue and store the issue in the database.
  5. Re-index an issue to keep indexes in sync with the database.
  6. Fire a Generic Event event that can be processed by the listeners.

 

From X to Closed:

The following will be processed after the transition occurs

  1. Set issue status to the linked status of the destination workflow step.
  2. Add a comment to an issue if one is entered during a transition.
  3. Update change history for an issue and store the issue in the database.
  4. Re-index an issue to keep indexes in sync with the database.
  5. Fire a Issue Closed event that can be processed by the listeners.

 

The "Resolution" field never gets set.

 

There is one transition screen that sets the Resolution when moving to the Resolved state. Even when setting the state to Resolved and then to X, I also get the same error.

Clark Everson Community Leader Dec 09, 2020

Are you trying to set the resolution from the workflow or from the automation? Whichever one you did maybe also try doing the other. If in the automation that you haven’t done it for have that be the first action to complete 

Suggest an answer

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

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

196 views 1 6
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