Forums

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

How to get all the Description fields using Jira REST API

jean gmail September 11, 2024

I want to get all the fields in Description fields, is there any REST API to use ?

for Example, i create an new field TestD in Description fields.

image.png

 

3 answers

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
September 15, 2024

Hi,

it's seems that this is not available yet

https://jira.atlassian.com/browse/JRACLOUD-74697

0 votes
Jitin Chugh
Community Champion
April 2, 2025

@Mohamed Benziane @jean gmail 

Yes. When integrating with JIRA via its REST API, there are various endpoints that you can use to interact with different aspects of your JIRA instance, such as issues, projects, users, workflows, and fields. The base URL for the JIRA REST API is generally:

https://your-domain.atlassian.net/rest/api/2/

Replace your-domain with your Jira Cloud instance's domain (for Jira Cloud users). For Jira Server or Jira Data Center, the URL will be your internal Jira instance URL.

To authenticate your API requests, Jira Cloud typically uses API Tokens in combination with Basic Authentication (email + API token). For Jira Server/Data Center, you can use Basic Authentication with your username and password or an OAuth token.

 

Example for Getting All Fields (Using the GET /rest/api/2/field Endpoint):

To fetch all fields available in your Jira instance (both system fields and custom fields), you can send the following HTTP request:

Request:

GET /rest/api/2/field

 

Response:

 [ { "id": "summary", "name": "Summary", "custom": false, "orderable": true, "navigable": true, "searchable": true }, { "id": "customfield_10010", "name": "TestD", "custom": true, "orderable": true, "navigable": true, "searchable": false } ]

0 votes
jean gmail October 31, 2024

@Mohamed Benziane Thank you for your feedback

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