Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rule to set Insight field value in Automation for Jira

Sergei Gridnevskii
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2021

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
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2021

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

Sergei Gridnevskii
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2021

Thanks Hakan.

Is it possible to create Insight object from rules?

Also is it possible to edit attributes of an object?

Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 21, 2021

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

Steve Morris October 7, 2021

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

Like • Manuela likes this
Manuela October 26, 2022

Workaround - Jira DC Insight post functions in workflow..

Suggest an answer

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

Upcoming Jira Events