Error "Unknown fields set during transition. Field may not be on transition screen. Fields ignored -" seen on Automation for Jira

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

    

Summary

When executing a rule with Automation for Jira using the Transition issue action that is also editing a custom field you're consistently getting the following error:

  • On this case, custom field is MyCustomFieldExample and its ID is 10400.


Unknown fields set during transition. Field may not be on transition screen. Fields ignored -
MyCustomFieldExample (customfield_10400)

You'll notice that the custom field from the error message is not being updated.

Environment

  • Jira Server/Data Center on any version from 8.0.0
  • Automation For Jira (A4J) Server/Data Center on any version from 7.4.0

Diagnosis

Review the Audit Logs for your rule.

  • It will show SOME ERRORS on status.
  • By clicking Show more on the far-right of the execution log you get the error message "Unknown fields set during transition. Field may not be on transition screen. Fields ignored -".

Cause

When you add a custom field edit using the Choose fields to set..  on a Transition issue with Selecting the destination status (as opposed to picking a specific transition), Jira tries to find that custom field on the transition screen but returns an error since no transition and therefore no transition screen are used for this operation.

Solution

Since the goal is to perform the status change and modify one or more custom fields, here are two possible paths to achieve it without having any errors on your Audit logs.

If you do not have a specific transition to use or prefer the direct status update

You can still perform a transition to a specific destination status and edit the custom field but you'll need to do so using two distinct actions as shown in the screenshot:

  • Transition issue to desired status (Selecting the destination status)
  • Edit issue to modify the custom field(s)

If you can use a specific transition

By using a specific transition Jira will have access to the transition screen and will be able to properly validate if the custom field is available to be modified.

  • Make sure the field is properly added to your transition screen
  • Transition issue using the specific transition and pick the custom field to be modified by clicking on Choose fields to set... 


Last modified on Jan 2, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.