Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Change Insight attributes in jira via postfunction

Hello all,

As you know, you can take data from an Insight Object via insight postfunction and insert it into a Target Custom Field.

Is this also possible the other way round?
So that I can change my Insight database by using a Jira issue?

I have not found any settings for this.
Only a fixed value, but that is not suitable for me.


1 answer


yes there is different way; for example you can use groovy script or simply use "Set the value of an object attribute with a predefined value" in workflow 


In my example, you will update the attribute "MODE" of the select object in the custom field Related Host to value "Degraded".

2022-05-09 14_14_56-Window.png

Hey Julian!
can you help me with the groovy script? 


the option with "predefined value" will not work bc the value is not predefined.




It's depending of what you need to update and the source value. Groovy is not easy in the beginning. Now i'm more experienced but i can tell you it's could be very long to have exactly what you want. 

Suggest an answer

Log in or Sign up to answer

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