Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Rule to set Insight field value in Automation for Jira

Could you please send me an example of a rule to set an Insight field after issue creation?

I have a text field containing a name of an employee

User

Also I have an Insight custom field

Employee

When I create an issue I want Jira to find an object in Employees table which name equals to User value. In terms of IQL it looks like

"Name" = {User.value}

This does not really work




 

1 answer

1 accepted

0 votes
Answer accepted

Hello,

If you want to find the object for the reporter's user then you can use the IQL in "Lookup Object" step as follows:

Name = {{reporter.DisplayName}}

 

I hope that will help.

Regards,

Hakan Bahadir

Solutions Engineer

Thanks Hakan.

Is it possible to create Insight object from rules?

Also is it possible to edit attributes of an object?

Hello,

Yes, absolutely. Please find the automation blocks newly introduced for Insight below:

- Triggers: Object trigger, 

- Conditions: IQL Condition

- Actions: Lookup objects, Edit Insight field attributes (works for the issue in context), Edit object (works with Object trigger)

 

Cheers.

Hakan Bahadir

Solution Engineer

Are these Insight actions only for Cloud based Jira instances?  I don't see a lookup action in my Data Center instance. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

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