I have an Insight custom field on a Service Management request type, and after a workflow transition I want to change a value of an attribute of the object.
I´m using then the "Set the value of an object attribute with a predefined value" post function, which works perfectly for attribute types like text or select, but I can not get it to work for an Status type attribute:
Checked that the value I´m trying to set exists as a status for that object type on Insight.
Any ideas?
The update action works propery, the issue was a validation groovy code that was not working as expected.
If the above doesn't work, you may have to use the jmwe plugin and run a groovy script. Take a look at a similar post here: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Post-function-script-to-update-Insight-object-with-values-from/td-p/768424
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabian. Thanks for your answer. We have the jmwe plugin, although Insight also has a post function to execute groovy code.
I´ll take a closer look at the code on the post you mention, in the meantime though I´ll raise a ticket to Atlassian support as I think there must be a way to update an status without the need of developing a function.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.