Change object value when updated by Discovery

I was thinking about a groovy automation script, that would check which user changed a value and if it was the automation user, it would set the value to the field. I don't see an event object that would be passed to a script. Do you have an idea how to implement this? Maybe there is easier way. :)

2 answers

Hi Marcin,

that is not a discovery released question.

So an colleague will answer to it.

// Christian

Hi :) When can I expect an answer? :)

0 votes

Hi Marcin,

This is doable, but it will require some groovy scripting. I would recommend you to take a look at our documentation where we have some example of groovy script, and also our API documentation on what is possible to do.

As an example, in the ObjectFacadeImpl, there is a method where you can get all history of an object by passing the objects id.

For examples of groovy scripts, take a look at

Also, we have partners that can help with the configuration and setup of both Insight and JIRA, if that would be interesting, let us know.

Best Regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

349 views 0 1
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you