Hi everyone! I have the following problem. My application uses Jira REST API and allows users to estimate their Jira issues. Sometimes, the user chooses a field that is not added to a screens configuration used by the project. When my app tries to update this field via REST API, I’m getting Field 'customfield_10030' cannot be set. It is not on the appropriate screen, or unknown.
. I want to implement a way to fix it for the user and add this field to a screen configuration using Jira API.
- Get screen configuration for a project/issue to get the screen ids that need to be updated (missing)
- Get screen tabs: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screen-tabs/#api-rest-api-3-screens-screenid-tabs-get
- Add screen tab field: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screen-tab-fields/#api-rest-api-3-screens-screenid-tabs-tabid-fields-post
Is there any way to get the screens configuration for a project/issue via Jira REST API? There’s a call to add a field to a default screen, but it’s not enough. I’d appreciate some help!