We are developing a jira-cloud-addon by using atlassian connect framework. In this addon we are creating custom-field through the jira REST api. Then the created custom-field is added into spesific screen using this REST call.
POST /rest/api/2/screens/{screenId}/tabs/{tabId}/fields
In here the custom-field is added into Default Screen, Resolve Issue Screen, Workflow Screen. Problem is , we got an error when we are trying to insert an issue with this custom-field.
Error:
Field 'customfield_<ID>' cannot be set. It is not on the appropriate screen, or unknown.
Could you please tell me how can i fix this issue.
Hi Tharanga,
A number of users have pointed to authentication as the issue, however, take a look at the last two posts in the article I linked. One refers to an authentication issue and how it was fixed which is similar to other fixes in that article. Shah also a recommendation to make sure you have the correct permissions since you're creating these programatically.
Cheers,
Branden
Hi thanks for your reply. In here we can inject issue through the jira REST api. Its work fine. Problem is the customfield. When we create a new project , all the Issue Types of that project are assigned into a new screen schema. Then the key of that screen schema may be <PROJECT_KEY> : Software Development Bug Screen Scheme (4).
In our case, The customfield which we are created, is only supported for the spesific screens. It is not supported for the newly created screen schema which i mentioned above.
Am I doing a wrong scenario to create new customfield or Is there any other method to create customfield.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.