Hello,
we are trying to fetch list of fields with its default values. We use following endpoint:
GET /rest/api/2/issue/createmeta
However, as also described in this question: https://community.developer.atlassian.com/t/how-to-get-default-value-for-message-custom-field-via-jira-rest-api/45002, response only contains hasDefaultValue property, and even if this property has value true, it does not contain defaultValue property.
We tried to fetch default values using following endpoint:
GET /rest/api/3/field/{fieldId}/context/defaultValue
but it requires Administer Jira global permission.
Is there any reason why it is restricted to administrators? And why doesn't /createmeta return defaultValue field? Is there any other way to access fields defaultValue?
Best regards,
Jakub Zimny