/
How to find issue property values of the Jira issues from the REST API call

How to find issue property values of the Jira issues from the REST API call

Introduction

With the Add/Update entity post function, it is possible to set issue properties in a issue as a hidden field.

The guide explains how to get the stored properties from a REST API call. With that, you can retrieve the information for integration with other systems.

How-to

You can use the following REST API endpoint

curl -X GET https://<JIRA-BASE-URL>/rest/api/latest/issue/<ISSUE-KEY>/properties/<KEY>

Example

If the issue ENPR-4 has the entity stored

Entity KeyEntity NameEntity Value
departmentDepartmentSystem Reliability Engineering


The following curl command 

curl -u admin:admin -X GET https://jira-instance1.net/rest/api/2/issue/ENPR-4/properties/department

will return 

{ "keys" : [ { "key" : "Department", "self" : "System Reliability Engineering" } ] }


References

Related content