How to set duedate field in CLI

When I try to run the below script, I found some error.

 

atlassian jira --action createIssue --project "SQECPROCJR" --type "improvement" --summary  "test" --custom "customfield_13784:Model"  --field "duedate" --vaules '26/May/2013' --dateFormat "d/MMM/yy"

--------------  Output  ------------------------

Error: Unknown flag 'vaules'.
Error: Unexpected argument: '26/May/2013'

 

How can I fix the problem?

1 answer

First, you have a typo in the values parameter - that is the reason for the error. Second, use the date parameter on the create and update issue actions to set the due date. See createIssue for more information.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

17,622 views 18 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you