Insight: Limit outbound references based on the Additional Value

Tanya Tranter October 22, 2017

I have an object that has 2 outbound references to the same object thpe "Employee". What I would like to be able to do is filter the objects to show only those objects where the current user is in the Members attribute and not show where they are the Manager. Is this possible?InsightQueryScreen.JPGInsightAttributeScreen.JPG

2 answers

1 accepted

0 votes
Answer accepted
Alexander Sundström
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.
October 25, 2017

Hi Tanya,

You can read about IQL and filtering at https://documentation.riada.se/insight/latest/insight-user-s-guide/iql-insight-query-language

You should be able to use currentUser() function, something like this example:

"Manager"."Correct Attribute Name" != currentUser() AND "Members"."Correct Attribute Name" = currentUser()

Best Regards
Alexander

0 votes
Christian Bär November 27, 2017

Would have choosen 

object HAVING outboundReferences( objectType=Members AND "JIRA User"=currentUser() )

but Alexanders example looks easier.




Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events