Hi, I have the workflow:
but when I use the api get attachment I don't get the transitions for resolved issue but I do get the transitions for in progress ticket, I would love to know how to have it so an issue would have transactions.
This is the url for the get request for the api:
https://companyName.atlassian.net/rest/servicedeskapi/request/SDCS-402/transition
This will happen if the transitions have conditions on them. The REST API, like the UI, will only show you ones that can be used by the current user.
Hi Nic,
I'm working with Gal,
just wanted to verify that this is what you mean:
In the UI I have two transactions:
but when I try to see the active transactions for this ticket from the API I get:
as you can see the values array is empty.
Have you encountered this? Do you have any suggestions on what to do in this case?
Thank you very much for your help!
Sagi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it the same user using the UI and REST?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using an API token to send the POST request.
https://confluence.atlassian.com/cloud/api-tokens-938839638.html
but yes, I have created the api-token from the same user as in the UI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is still relevant. Help will be very much appreciated!
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The other thing you might be missing is the difference between the transitions available to the agent and the customer.
Note that the rest call being made here is for the request transitions, not the issue transitions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a Problem I recently had (not with the API) do you have some conditions for this transition? Maybe you first have to pass the condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.