I use postman and python jira client. The same result in both cases
My request JSON body is the following:
I use this rest endpoint: https://<name>.atlassian.net/rest/api/2/issue
{
"fields": {
"project":
{
"key": "TJ"
},
"summary": "Jira Client Automation: Dummy summary",
"description": "Jira Client Automation: Dummy description",
"issuetype": {
"name": "Task"
}
}
}
I receive this:
{
"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."
}
}
I don't have permissions issue. Checked it several times by creating issues through UI manually. Api V3 also responds me the same
That error message either means
It's not the case.
Because i use my own account and it can create issues in UI. And i have mandatory fields which are Summary, Project and Issue Type. So they are being filled correctly programatically as well. Other ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so that sounds like your authentication is not doing what you think it is, and it's not logging in as you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nic,
maybe you will use some facts, but not assumptions in your comments? I use generated API token from user's panel in Jira Cloud UI. And i use trivial HTTP Basic auth mechanism. I can list available issues and projects for example
Thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The facts are that the error message you are seeing is generated in the two cases I described.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any chance that my user's API token has different permissions than my personal account itself? Sounds weird, but who knows how Jira works behind the scene. This error message is really vague and too abstract hiding real root cause
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also let's apply deduction method. i see and i showed you already all that fields on the issue create UI screen. How to double check permissions issue probability?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was getting the same "Statustext:Field 'Summary' cannot be set. It is not on the appropriate screen, or unknown" error when settind standar Summary and Desciption.
In my case problem was solved when used email (not username) related to my user account when doing basic auth (and using Jira Cloud generated token)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.