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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

37 views 0 4
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