Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to bulk create issues via API v3

meghana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2023

Hi, 

I've been using bulk create issue(/rest/api/3/issue/bulk) from a long time and it had been working fine until this last weekend.

Here is the request and error that I'm getting,

Request:

{
"issueUpdates": [
{
"fields": {
"project": {
"key": "NOL001221"
},
"summary": "O-001221-K Nolato AB - Delivery Consultant - Running cost",
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "Sales reference: Jimmie Kling\nCustomer reference: \n\n50 - One Off services 2021-04 - Delivery Consultant - Running cost\nOrder status: ACTIVE",
"type": "text"
}
]
}
]
},
"issuetype": {
"name": "K-ORDER"
},
"timetracking": {
"originalEstimate": "0d 6h"
},
"customfield_10053": "OPC-003908",
"customfield_10028": {
"value": "Yes"
},
"customfield_10054": "d"
}
}
]
}

 

Error response:

{
"issues": [],
"errors": [
{
"status": 400,
"elementErrors": {
"errorMessages": [
"Overtime comment: Overtime comment is required."
],
"errors": {}
},
"failedElementNumber": 0
}
]
}

 

Can you please help resolve this issue?

 

1 answer

1 accepted

0 votes
Answer accepted
Barnali Putatunda
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.
March 13, 2023

HI Meghna,

From the error message it seems like there is a field "Overtime comment" which is a mandatory field for creating the ticket & is not present in your request body.

Might be something that has changed recently in your project configuration.
Please check that & I hope it will fix your problem.


meghana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2023

Thanks for the help!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events