Our Jira allows two "Closed" statuses: "Accept" and "Cancel issue". But acli doesn't seem to have a flag that can specify which.
If I run "acli jira workitem transition --key $WORK_ITEM_KEY --status Closed", I get "Failure: $WORK_ITEM_KEY can't be transitioned: io.atlassian.micros.clibackend.exceptions.InvalidPayloadException: Please describe why do you want to Cancel this issue."
If I run "acli jira workitem transition --key $WORK_ITEM_KEY --status Accept" instead, I get "Failure: $WORK_ITEM_KEY can't be transitioned: No allowed transitions found for given status".
How can I proceed?
Hi @Shia Liu
Welcome to the community.
The following might work, but you need to try this.
This didn't work.
$ acli jira workitem transition --key $WORK_ITEM_KEY --transition-id 11
Error: unknown flag: --transition-id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This page contains all supported flags and it doesn't have `--transition-id`: https://developer.atlassian.com/cloud/acli/reference/commands/jira-workitem-transition/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shia Liu
Then this option seems to not be in place anymore.
You could raise a support request with Atlassian Support
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.