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

This widget could not be displayed.

Hi Marcin,

that is not a discovery released question.

So an colleague will answer to it.

// Christian

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

This widget could not be displayed.

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 https://documentation.riada.se/insight/latest/insight-for-developers/groovy-scripting/groovy-script-examples

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
Alexander

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

429 views 3 17
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