We have several automation tools that access Jira REST api. We have been testing Jira 7.4.2 and we are facing some issues.
Currently in production we have Jira version 6.4 from where we get issues details (fields) using REST api and we always get the expand=renderedFields for presentation purposes. In the new version (7.4.2) we are getting fields in the renderedFields that have null values. These fields exist in both renderedFields and non renderedFields area but in the renderedFields the value is null!
Why this behavior occurs?
Why we have several fields repeated in both areas and null values in renderedFields?
Is this a bug? If not, how can we have the same behaviour as in the previous version, e.g. only one unique field name in the rederedFields ?
The custom fields which are appearing in the REST response with null values are all the custom values you have on your server.
Since they do not have a value on the currect issue you are making a rest call on, they just appear with NULL values.
In attachment, we have a image from what we seen in JIRA browsing and also the screenshot from the response where we can see two parts of the same response, one where we have the issueLinks reference to five issues and the other image where we see an empty reference to issueLinks.
IssueLinks JIRA Browsing:
IssueLinks no reference:
issueLinks 5 references:
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG