Can I update an issue's issuetype using the Jira CLI?

Julian Green (KMIS) December 3, 2013

This is really basic, but I can update custom fields using the CLI. How do I change the issue type?

Julian

2 answers

1 accepted

2 votes
Answer accepted
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2013

Hi Julian,

Did you try the following :

jira --action updateIssue --issue "<KEY>" --type "<the new issue type>"

just wondering.

Best regards,

Peter

Julian Green (KMIS) December 3, 2013

Peter, Thanks for this. I knew I was being a twit!!!

I had "--issuetype" instead of --type

Doh!!

Thank you

0 votes
Darryl Lee - CCC March 10, 2020

Hey y'all, I realize this is super-old, but I'm having issues with this.

I'm trying:

./acli.sh --action updateIssue --issue 'ECR-1061' --type "Production Release subtask"

And get:

Client error: 'type' is not a defined field or is not valid in this context (for instance, not being available on the appropriate screen).

Does it matter that I'm on Jira Cloud? Seems like it shouldn't, but thought I'd mention it.

Thanks!

Suggest an answer

Log in or Sign up to answer