The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get an issue type for a DC/server requesttype?

Katherine Regan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2022

I am calling GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype as described in https://docs.atlassian.com/jira-servicedesk/REST/5.3.0/#servicedeskapi/servicedesk/{serviceDeskId}/requesttype

For cloud, the response includes issueTypeId but for DC it does not. How can I determine the issuetype for a service desk request type?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Joseph Chung Yin
Community Champion
October 11, 2022

@Katherine Regan -

The easiest way to obtaining the issue type ID associated to a specific request type is by accessing project's project settings (assuming you have the permissions).  Afterward, you can Access "Request Types" UI and locate the name of the issue type it is associated to.

2022-10-11_15-23-15.png

Then in the same Project Settings UI, you can locate the Issue types associated to the project, if you hover over the issue type name, then you will see the issue type ID.

2022-10-11_15-23-02.png

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

1 vote
Florian Bonniec
Community Champion
October 11, 2022

Hi @Katherine Regan 

 

If you want to do it using the REST API you can use the following endpoint.

 

/rest/servicedesk/1/servicedesk/{serviceDeskId}/request-type-groups/{group-id}/request-types

 

In order to get availables groups for a project

 

/rest/servicedesk/1/servicedesk/{serviceDeskId}/request-type-groups

 

Regards

TAGS
AUG Leaders

Atlassian Community Events