Hi together,
in Jira Asset Management I can create Automations
WHEN: Object created, Object updated
IF: objectType in (Processes)
THEN: execute groovy script
how in the groovy script can I retrieve the object of the WHEN-clause. Or in other words how do I retrieve the trigger object-key?
Would be nice, if somebody can support.
Community moderators have prevented the ability to post new answers.
In your groovy script, before you even write the first line of code, there will be 2 or 3 variables.
log : an object of type org.apache.log4j.Logger to allow you to send messages to the insight_automation.log
object : an object of type
log.info "Running script on $object.objectKey - $object.label"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.