Hi All ,
can some one help . how to override the screen whether the field was there or not the value should set ?
I am working on integration : i am getting this error "customfield_10303" cannot be set . it is not on the appropriate screen or unknow" .
What i am doing and why i am getting this error :
through rest api . i am creating a story . when i am creating a story i want to send failure criteria data to jira .
I understand that you are getting this error when trying to create an issue via the REST API in Jira. This error tends to happen because one or more of the fields you are trying to define in your REST payload does not actually exist on the create issue screen for this issuetype in this project. Our documentation on Defining a screen explains when you can find issue fields on a screen:
For example, on the Create Issue dialog box, users will only see issue fields that:
- are present on the screen associated with the issue's Create Issue issue operation
- are also not hidden in the field configuration applicable to the issue (as defined by the project's field configuration scheme)
- the user has permission to edit (e.g. the Due Date field can only be edited by users with the Schedule Issues project permission)
In those cases the clearest way forward is to simply add that custom field to the create screen for this issue type.
To the best of my knowledge the REST API for Jira Server and Jira Cloud do not have any means to simply override these screen/field configuration settings within a project. If the field already exists on this create screen, then it is also possible that this error can be generated because the user account making the REST API call does not have permissions to create issues in this project. In which case, you would want to make sure that your account has the create issue permission for this project.
On a side note, there are other related threads to this error message in Community that might also be of benefit to you here. Such as,
I hope this helps.
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events