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

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

    

要約

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.

環境

  • 8.0.0 以降の任意のバージョンの Jira Server/Data Center
  • Automation For Jira (A4J) Server/Data Center on any version from 7.4.0

診断

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 -".

原因

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.

ソリューション

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... 


最終更新日: 2025 年 1 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.