Hello community!
Can you please advice how can I get following properties from customfield?:
Let us assume following customfield of type icon label:
"customfield_16301": {
"id": 15501,
"self": "https://something.com/rest/iconselectoptions/1.0/option/15501",
"label": "ERROR",
"iconUrl": "https://something.com/secure/viewavatar?size=xsmall&avatarId=19996&avatarType=iconselectlist",
"avatarId": 19996,
"sequence": 1,
"disabled": false
}
Now in scriptrunner I can get value and name of the customfield easily:
def cfVendorUrl = customFieldManager.getCustomFieldObject(15803)
def vendorUrlValue = issue.getCustomFieldValue(cfVendorUrl) as String
Now, how can I get iconUrl, self, and other properties?
Thanks!
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.