I'm working on jira-cloud add-on. Since using custom fields is limited I've decided to use JIRA entity properties instead. I don't want to show my custom data on standard JIRA views, so it seems to be a good choice.
But I can't find a way to retrieve JIRA entity properties for scope of issues by one request. I have to use REST /api/2/issue/{issueIdOrKey}/properties/{propKey} instead. It is a very inconvenient because number of issues may be huge.
Hello Pavel,
The example below shows how to get all of the properties stored against an issue.
The response from server will contain keys and URLs of all properties of the issue ENPR-4.
{ "keys" :[{ "self" : "https://jira-instance1.net/rest/api/2/issue/ENPR-4/properties/tasks" , "key" : "tasks" }]}
|
To see more information about JIRA entity properties check these links:
https://developer.atlassian.com/display/JIRADEV/JIRA+Entity+Properties+Overview
https://developer.atlassian.com/static/connect/docs/1.1.33/modules/jira/entity-property.html
Hope this helps!
Paulo Miguel
Atlassian Support | Cloud
Thank you for reply. Response contains only list of requests for retrieving property values. And I have to send all this requests for retrieving all prop values.
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.