Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
5.1.0
-
None
-
None
-
Sprint 35 - Ends Oct 10
-
1.3
Description
Scripted fields with a searcher that is not natively supported in JIRA - for example "Exact Text Searcher (natural)" searcher from the Natural Searchers Plugin - have no type assigned when you try to get them via a REST call.
Steps to reproduce
Create a scripted field of any template and searcher Exact Text Searcher (natural)
And then navigate at
http://localhost:8080/jira/rest/api/latest/issue/$iisueKey?expand=schema,names,transitions
And search for the custom field. You will get something like
customfield_10122: {
custom: "com.onresolve.jira.groovy.groovyrunner:scripted-field",
customId: 10122
}
instead of
customfield_10122: { *type: "<any type>"*, custom: "com.onresolve.jira.groovy.groovyrunner:scripted-field", customId: 10122 }