Jira server - how to get a list of all project labels via API

PT Amir Asher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2023

not only issue specific, or used in issues.
i need all possible values as defined for the Label field.

for jira cloud i can do '/rest/api/2/label', and im looking for something similar

thanks in advance

 

1 answer

1 vote
PT Amir Asher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2023

solved it like

"/rest/api/2/jql/autocompletedata/suggestions?fieldName=labels"


if you have a better way,
will be happy to hear 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events