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

AQL to limit based on reporter being in a group

Ste404
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.
March 20, 2023

Hi there,

I think this is a stretch, but is there a way to filter data being shown in an Assets field on a portal form based on the reporter being in a particular group.

I know you can do this in automation but I have an 'elevated' attribute for some data in Assets and wanted to only display data where elevated = True when reporter is in a certain group, otherwise it wont show the data.

 

I can't see how this could be done at all as it looks like it needs to combine AQL and JQL and that doesn't seem possible on the custom field setup.

Thanks.

1 answer

0 votes
Benjamin Lunnet (PRIVAT) March 23, 2023

Hi Steven

Currently I'm using the 

"Members" having user("currentUser()")

In the Filter issue scope (AQL)

Where members is the group attribute of the object

Br.

Suggest an answer

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

Atlassian Community Events