Hi all,
I am using scripted custom fields to show a linked parent issue id.
I can see the value correctly calculated in the issue details and in a search result list. But when I access the issue using a rest command, the custom field information is not available.
Can someone explain how I can access scripted field information using rest - or is this not possible using standard jira rest interface? Do I need to create a scriptrunner rest endpoint?
Thansk for any help!
Christoph
Hello Thanos,
I meanwhile addressed this issue directly towards adaptavist. It happens when using the "show parent" feature of a scripted field:
https://productsupport.adaptavist.com/servicedesk/customer/portal/2/SRJSUP-4597
It took some time but finally the bug was confirmed by adaptavist, your supporter created this ticket:
https://productsupport.adaptavist.com/browse/SRJIRA-2833
But this bug was already known as you can see in duplicate ticket:
https://productsupport.adaptavist.com/browse/SRJIRA-2818
So bascially it was a long way until there but now the ticket is unassigned. :-)
Regards
Christoph
Hi Christoph,
What template you use for your scripted field ?
For example in a scripted field that returns
issue.key
and its template is Text Field then you can get the value of the scripted field via a rest call in the same way with all the other custom fields
/rest/api/2/issue/${issueKey}?fields=${customFieldId}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.