How to set duedate field in CLI

Richard, Woo March 26, 2015

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

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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 27, 2015

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