Hello everyone,
How can I get all requesty type value from a specify project?
I want to change the request type of an issue already created e also want to create a new issue and pass the request type.
Can help me, please?
Thanks!
May I ask what hosting are you using? Cloud or server? You will need to call the endpoint for get all request types then search for the request type you want in the list and determine what further steps you want to take.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, do you know how to code in groovy? If you don't then it would be difficult to explain the concept. However, what you should do is look for similar examples here https://library.adaptavist.com/
If you do then, the endpoint you should focus on is the get all request type.Please note that the API is experimental, so using the experimental headers is required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I don't, but I know to code in Java. I noticed that somethings are equal.
I got it, all request type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's even better because they are particularly similar in most aspect. Were you able to get this issue resolved with those information @Bruno Mesquita dos Santos?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, perfect.
No, I got all information about the request type but the endpoint did not give me the value of each request type.
I google and I saw that to change a issue already created or to create a issue and pass the request type is necessary pass the value of the request type, is that right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That should be referring to the serviceDeskId. That information is contained there in the request payload. So you have to use a combination of identifying the request type by name, then use the serviceDeskId to perform the change. It's the same way automation for Jira does it.
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.
Thanks a lot for the help. I got.
I used the:
(answer) https://MY-HOST/rest/servicedesk/1/servicedesk/request/<IssueID>/request-types
And I got the key.
When I used the POST method:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to get a collection of the Customer Request Types of a Project?
From withing a Groovy Script Runner Script and without a web API request.
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.