Hello there,
I am using an API to create an issues in BULK. Everything worked properly when I used my personal JIRA but when I wanted to use my customers JIRA I got some errors, which I cannot resolve.
I am using the following request in POSTMAN
{
"issueUpdates": [
{
"update": {},
"fields": {
"summary": "summary",
"issuetype": {
"name": "Test"
},
"project": {
"id": some-id
},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Test From the API project. Test is called 'summary'",
"type": "text"
}
]
}
]
},
"reporter": {
"id": "id"
},
"assignee": {
"id": "id"
},
"labels": [
"test",
"API"
]
}
}
]
}
As an authorization I use Basic token, which works properly (tested it on another query).
As a result I get the following error
{
"issues": [],
"errors": [
{
"status": 400,
"elementErrors": {
"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.",
"reporter": "Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown.",
"assignee": "Field 'assignee' cannot be set. It is not on the appropriate screen, or unknown.",
"labels": "Field 'labels' cannot be set. It is not on the appropriate screen, or unknown."
}
},
"failedElementNumber": 0
}
]
}
I use this endpoint
https://myJira.atlassian.net/rest/api/3/issue/bulk
I checked the manual creation of the issue on the customers JIRA and I can see every field which is "unknown" and I have the privileges to create an issue.
Can you please help me with this issue?
Hi @Tibor Kocik -- Welcome to the Atlassian Community!
For a question like this, you may want to look in the Developer Community. There appear to be some posts there about the symptom you describe:
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.