Create Issue using API

Said Mustapha 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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