Forums

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

Get Issue API

Nishant Sharma April 8, 2021

I am going through Jira rest API reference Doc and looking for get issue API over here https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-issueidorkey-get

 

For this API, in response, we have fields object. Can someone please let me know how we can come to know what all fields this field object will contain?

 

Is there any API for it? as we do have to get metadata API for creating issues and edit issue.

 

2 answers

0 votes
Nishant Sharma April 8, 2021

Thanks for sharing that. I have a question on top of it.

1. Are these fields are gonna remain the same across all issues in Jira?

2. If these fields gonna change on basis of Issue Id then How we can determine which issue will what all fields. Is there any API call for this?

0 votes
Juan Manuel Ibarra
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.
April 8, 2021

This object contains the standard fields, relations, and the custom fields:
Descriptions
Subtasks
Project
Comments
Worklogs
IssueLinks

 

Captura de Pantalla 2021-04-08 a la(s) 10.47.09.png

Also you can add the query param ?expand=names on the end of url to have the names of the custom fields

 

Captura de Pantalla 2021-04-08 a la(s) 10.47.58.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events