Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IQL get Actor who create object

Pavel Rusakov
Contributor
November 10, 2022

Hello! I trying to add Insight automation rule.

If new object created by some user, then create issue with information about actor.

How can i get IQL for Actor?

Actor = "User' - Doesn't work.

immediatly thanks in advice!

 

1 answer

0 votes
PD Sheehan
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.
November 10, 2022

I don't think that's possible with IQL

You would need to store the actor in an attribute.

It might be possible via groovy script, but you'd need to examine the history for the object.

objectFacade.findObjectHistoryBean(objectId).first().getActorUserKey()
Pavel Rusakov
Contributor
November 15, 2022

Do you have more examples of "groovy" scripts? 

PD Sheehan
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.
November 16, 2022

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events