Skip to main content
All CollectionsSalto for JiraTroubleshootingDeploy Preview Errors
Non-global field context not referenced by any project
Non-global field context not referenced by any project
Support avatar
Written by Support
Updated over 2 months ago

This pre-deploy error appears when the deployment preview includes a custom field context which isn't global and isn't assigned to any projects.

What triggers this error?

This error is triggered when trying to deploy a Jira Custom Field Context, which:

  • Is not global

  • Is not referenced by any projects in the deployment plan

Jira requires non-global field contexts to be referenced by at least 1 project. (Learn more about field contexts in Atlassian's documentation for Jira Cloud or Jira Data Center.)

How can I solve this?

The detailed error message indicates whether the field has other, valid contexts (which are global, or attached to other projects). If the field has another valid context, you can continue the deployment without deploying the specific context.

In case this context is the only one associated with the field, there are 2 possible ways to resolve the error:

  1. Make this field context global.

    1. Go to Jira, and make this field context global. Note: this may affect performance; read more about it in the Atlassian documentation mentioned above

  2. Include the project(s) that reference this field context in the deployment.

    1. Go to "Back to Selection" and find the CustomFieldContext .

    2. Under "USED BY", find the project(s) associated with the context.

    3. Navigate to the project and select only the update to the fieldContexts to include the reference to the custom field context.

    4. Go to "Preview Deployment" to continue the deployment process.


โ€‹

Did this answer your question?