Currently i am using 'https://projects-lab.cdk.com/rest/api/latest/issue/' to create subtask but i am unable to create due date for it. I am able to see due date field on jira but i am unable to add it using rest api by passing payload.
Hi @Yasashree ,
Are you able to set the due date field via JIRA UI ? To set Due date on an issue, you need "schedule Issue" permission on the project. You may need to check for the permission.
@Yasashree - Try to pass the value like this
"duedate": "2021-06-09"
If it does not work, kindly share the complete restapi POST call
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yasashree - Pass it like every other field. You can check this article .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Niranjan it is working
{ "fields": {
"project": {
"key": "TLRELEASE"
},
"parent": {
"key": "TLRELEASE-6735"
},
"summary": "CHECK_Test",
"description": "add description",
"duedate": "2021-06-09",
"issuetype": {
"name": "Sub-task",
"subtask": true
},
"assignee": {
"name": "akulay"
},
"labels": [ "ReleaseManagement", "CS" ] }}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yasashree - Good to know. Kindly accept the answer so that the post will be marked as closed. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.