Cloud
Jira Cloud platform / Reference / REST API v3

This resource represents available labels. Use it to get available labels for the global label field.

GET

Get all labels

Returns a paginated list of labels.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:read:jira-work
Granular:read:label:jira

Connect app scope requiredREAD

Request

Query parameters

startAt

integer

maxResults

integer

Responses

Returned if the request is successful.

application/json

PageBeanString

A page of items.

GET/rest/api/3/label
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/label`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 { "isLast": false, "maxResults": 2, "startAt": 0, "total": 100, "values": [ "performance", "security" ] }

Rate this page: