Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Issue using API

Said Mustapha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2016

When creating an issue the following error is apeare:

  1. {errorMessages: [],…}
    1. errorMessages[]
    2. errors{summary: "Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.",…}
      1. assignee"Field 'assignee' cannot be set. It is not on the appropriate screen, or unknown."
      2. customfield_10144"Field 'customfield_10144' cannot be set. It is not on the appropriate screen, or unknown."
      3. customfield_12471"Field 'customfield_12471' cannot be set. It is not on the appropriate screen, or unknown."
      4. description"Field 'description' cannot be set. It is not on the appropriate screen, or unknown."
      5. reporter"Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown."
      6. summary"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown."

1 answer

0 votes
Phill Fox
Community Champion
January 11, 2016

You should check the create screen that matches your issuetype and project and make sure that the fields are present and available for completion.

The message is telling you that there is an issue when it tries to record the values that have been supplied as they are either not on the create issue screen or an "unknown" error which may be related to permissions for the process.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2016

Check by creating an issue in the UI - do you get a screen with those fields on it? Make sure you use the same user as you are running the REST call as, and using the same project and issue type.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events