The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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 Champions.
November 16, 2022
TAGS
AUG Leaders

Atlassian Community Events