Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change an Insight object status from a Jira post function

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:


Screen 3.JPG

Checked that the value I´m trying to set exists as a status for that object type on Insight.

Any ideas?


2 answers

1 accepted

0 votes
Answer accepted

The update action works propery, the issue was a validation groovy code that was not working as expected. 

1 vote
Fabian Lim Community Leader Dec 17, 2021

Hi @Mariano Redondo

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:


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. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

670 views 5 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you