I run this command:
acli jira workitem view <KEY> --fields '*all' --json
But the `transitions` property of the returned json object is null, even though I can confirm that it should have some transitions.
My understanding is that this is a bug, but I can't report it because in the contact page (https://support.atlassian.com/contact), when it asks "What is your URL?" and I enter mine, I get the "Sorry, we can't find this Cloud URL." error and I don't have any option to submit the bug.
Dear @Adrian Cuadrado Chavarria
Atlassian documents --fields "*all" for acli jira workitem view, but transitions are normally fetched via Jira’s separate “Get transitions” REST endpoint, not as a normal issue field.
Use REST API as a workaround:
curl -s -u "$ATLASSIAN_EMAIL:$ATLASSIAN_API_TOKEN" "https://YOUR-SITE.atlassian.net/rest/api/3/issue/<KEY>/transitions"
Hope this helps
That's exactly what I was doing precisely because I couldn't get the transitions. But what's even the point of returning the "transitions" property if it always comes null forcing us to use the rest endpoint? This should 100% be considered a bug, but I can't report it as such because of what I said about the contact page not detecting the cloud url.
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.