Hi all,
I have a problem when updated Insight Object attribute value with a jira custom field.
When this field is not set, the Insight object attribute get value "null" instead of completely remove the value (issue.getCustomFieldValue(jiraCustomField)
.toString()) instead of issue.getCustomFieldValue(jiraCustomField)
).
I base my script from here: https://documentation.riada.se/display/ICV51/Update+object+attribute#space-menu-link-content.
It works good except when I set an empty value.
Using issue.getCustomFieldValue(jiraCustomField)
will give me an error:
Null is not allowed to be added"
I didn't see on class ObjectAttributeBeanFactory documentation property or function an equivalent of removeObjectAttributeBean..
How I can delete the value of Insight object attribute when my jira custom field is blank ?
Thanks in advance.
regards
Hi Xavier.
Please try the function "deleteObjectAttributeBean()"
Cheers
Yinon
Hi Yinon,
thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
no idea ?
regards
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.