Insight automation groovy script for fetching objects updated in automation

harilal.poyil November 16, 2020

I'm trying to implement fetching objects updated and attribute values associated resulted in insight automation(When: object updated, Condition: objecttype=<objecttypename>, action=execute groovy script).

As per the documentation(https://documentation.mindville.com/insight/latest/insight-automation-33467001.html#InsightAutomation-DataavailabletotheGroovyscriptbytheInsightAutomationRuleEngine) was trying to import com.riadalabs.Jira.plugins.insight.services.model.ObjectBean. But getting classnotfound exception.

How can I solve this?

1 answer

1 accepted

1 vote
Answer accepted
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 16, 2020

Hi,

Did you have a chance to check the example on the following page: https://documentation.mindville.com/insight/latest/update-an-object-attribute-33466729.html

That may be helpful.

Regards, 

Hakan Bahadir

Solutions Engineer

harilal.poyil November 16, 2020

Yes. I figured this out. Thank you.

Like Hakan Bahadir likes this
Deleted user April 27, 2022

@Hakan Bahadir excuse me if i take this opportunity, but i'm asking you: i'm trying to understand if i can call from automation for jira (for jira datacenter) an insight object and its property (in particular an email attribute that i need to send from automation for jira an email). has anyone ever had this need and solved it? I'm looking for information and examples from some time but I don't find valid examples.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events