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

On the API of Jira, When I create a new ticket, it returns error when I set due date

nick
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!
October 13, 2024

I call it:

 

 

{
"fields": {
"assignee": {
"id": "642a3789a2665c9952606b09"
},
"project": {
"id": "10002"
},
"description":{
"content":[
{
"content":[
{
"text":"API 테스트를 위한 이슈 티켓 발급",
"type":"text"
}
],
"type":"paragraph"
}
],
"type":"doc",
"version":1
},
"reporter":{
"id":"712020:1b746f80-47ac-4f6c-9952-ef8fb1779e6a"
},
"issuetype":{
"id":"10013"
},
"duedate":"2019-05-11",
"summary":"이슈 티켓 만들기 API 테스트"
}
}

 

it returns:

 

 

 

{
"errorMessages": [],
"errors": {
"duedate": "Field 'duedate' cannot be set. It is not on the appropriate screen, or unknown."
}
}

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

 

Please let me know what I made wrong or how it can be handle

 

 

Many thanks

1 answer

1 accepted

4 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2024

Hello @nick 

Welcome to the Atlassian community.

Has the Due date field been added to the Create Issue screen for the type of issue in the project where you are attempting to create the issue via API?

nick
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!
October 15, 2024

Thanks @Trudy Claspill for the help! I checked the Due date field, and it resolved the issue I was encountering with the API. I really appreciate the guidance!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events