Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,991
Community Members
 
Community Events
184
Community Groups

Cannot bulk create the issue through API

Edited

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?

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 12, 2021

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:

https://community.developer.atlassian.com/search?q=%22Field%20%27summary%27%20cannot%20be%20set.%20It%20is%20not%20on%20the%20appropriate%20screen%2C%20or%20unknown.%22

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events