Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,107
Community Members
 
Community Events
176
Community Groups

How to get all request types using rest api of jira cloud

In JIRA project settings we have request types menu

by using JIRA rest API how we need to get request types.

if there is any documentation available let me know

3 comments

Dario B Atlassian Team Jul 02, 2019

Hi @Sai Kiran Konkumatti ,

I am pretty sure you have already found the answer by searching Google by now, but I am adding a reply anyway in case anyone else might be searching the community having the same question.

In order to do so you need to use the Jira Service Desk Cloud REST API endpoint /rest/servicedeskapi/requesttype.

This endpoint is documented in the below page:

 

Cheers,
Dario

@Dario B Hello,

I am using the same endpoint but I am getting following response:


{"errorMessages":["OAuth 2.0 is not enabled for this method."]}

 

Can you please help.

Thanks

Dario B Atlassian Team Jul 17, 2020

Hello @Talha Ishtiaque ,

Welcome to the Atlassian Community!

As the error message says, Oauth2 is not enabled yet for that endpoint. I have proceeded opening a feature request for this:

You may want to vote and watch the above feature request so that you will get notified in case of any update. The  feature will be addressed according to the Implementation of New Features Policy.

 

Finally, for the future, please avoid answering an old thread (from more than one year ago). You will have better chances to get a reply if you start a new thread.

 

Cheers,
Dario

Did not work for me on JIRA Cloud with any of the specified URLs above.

In the end I had to use `/rest/servicedeskapi/servicedesk/PROJECT_KEY/requesttype`, but that doesn't even seem to give the correct string that is required to set the request type when POST-ing a new issue...

Comment

Log in or Sign up to comment