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.
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.
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
}
]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.