I am trying to create a jira ticket via curl and here is my command
curl i -D -u venu.gattineni@reprisk.com:XXXXXXXXXXXXXXXXX POST --data '{“fields”:{“project”:
{“key”: “DEV”}
,“summary”: “changes in boostrap.yml”,“priority”:
{“name”: “Blocker”}
,“duedate”: “2020-12-24”,“description”: “content”,“issuetype”:
{“name”: “Bug”}
}}’ -H “Content-Type: application/json” https://reprisk.atlassian.net/rest/api/2/issue/
Success Criteria-
Pass date as a string and assign it as a due date.
Generally, today’s date can be printed in a Linux command line in this way
date ‘+%Y-%m-%d’
I tried to pass it in different ways but no success.
Please suggest me something.
Thanks,
Venu