ScriptRunner plugin field type returns "any"

Evgeniy Belov September 2, 2020

I have defined a ScriptRunner scripted field.
The schema type is "any", even though I picked the "Date" template when creating the field.   I use this url to obtain the field meta information:
URL: http://<instanceurl>/rest/api/2/issue/createmeta/CHRIS/issuetypes/10002
        ?startAt=0
        &maxResults=50
        &expand=projects.issuetypes.fields   Result for my scripted field:
}, {
    "required": false,
    "schema": {
        "type": "any",
        "custom": "com.onresolve.jira.groovy.groovyrunner:scripted-field",
        "customId": 10113
    },
    "name": "Chris_Created",
    "fieldId": "customfield_10113",
    "hasDefaultValue": false,
    "operations": ["set"]
}, {   Is there a way, using the Jira api, to obtain more information about the custom scripted field?
I need to know the internal storage type, like that it is a Date field?

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events