Create Issue using API

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

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.

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,728 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you