I am struct with json parameter to pass team via rest API to create JIRA ticket. When i am passing Team name i am facing issue .
{"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.","description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown.","Team":"Field 'Team' cannot be set. It is not on the appropriate screen, or unknown."}}
Can anyone help to resolve this as soon as possible
Could you let us know what specific REST endpoint you are trying to use here?
AND
What is the specific REST json payload you are using at that endpoint?
I ask because with the given error message you are seeing, it tends to indicate that you are either doing an edit/update OR that the create screen in jira doesn't contain the fields that are required in order to create the issue. When you create issues in Jira (outside REST), each project and issue type can have uniquely different screens. These Screens dictate what specific fields appear as available to have values added at the time the issue is created. If this team field does not appear on the screen in question, there is no way to set a value for that field when the issue is created. Please see Defining a screen for more background information here. When making a REST call to create an issue, you still have to abide by the limitations set forth in that particular screen.
If you're creating an issue in Jira via REST, I would expect that you are calling the api/2/issue endpoint with a POST call
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.