Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

239 views 0 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you