/
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 Key | Entity Name | Entity Value |
---|---|---|
department | Department | System 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
, multiple selections available,
Related content
How to use Issue Properties in ScriptRunner Groovy scripts
How to use Issue Properties in ScriptRunner Groovy scripts
Read with this
How to define Jira Link Type
How to define Jira Link Type
More like this
How-To Articles
How-To Articles
Read with this
Release Notes for 3.6.0
Release Notes for 3.6.0
More like this
ScriptRunner Integration
ScriptRunner Integration
Read with this
Supported Field Types
Supported Field Types
More like this