Forums

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

How to get non-mandatory fields to create a Jira Service Desk ticket through REST APIs

Manish Bilung September 26, 2018

Hi All,

I want to get all the fields, including mandatory and non-mandatory, to raise a JIRA Service Desk ticket.

Using the below API:

GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/field

I am able to get all the Mandatory fields for a request type.

How to get non-Mandatory field info as well?

 

Kind Regards,

Manish

1 answer

0 votes
Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2018

Hi @Manish Bilung

I don't think you are able to get that info from the service desk API. Maybe you can use this one:

https://docs.atlassian.com/software/jira/docs/api/REST/7.12.2/#api/2/issue-getCreateIssueMeta from the jira rest API.

You can use projectIds and issuetypeIds to filter the results.

Hope this helps!

Manish Bilung September 26, 2018

Thanks @Charly [DEISER] I will check the alternate solution as suggested by you.

Suggest an answer

Log in or Sign up to answer