Forums

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

JQL used to filter issues on the Customer Portal

David Harkins
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.
August 30, 2022

I need a method to display the same issues that a customer would see in a Dashboard, so was wondering if anyone knows of a way to replicate this in JQL?

i.e. all issues raised by currentUser() and where current user is a member of the Organization listed in the Organizations field.

organizationMembers("") is not dynamic, needing the Organization name to be explicitly named

1 answer

1 vote
Alex Koxaras -Relational-
Community Champion
August 31, 2022

Hi @David Harkins 

Out of the box, you can't do that. You will need an app for this, like scriptrunner. But what exactly you need to accomplish? I mean if you place the

currentUser() and organizationMembers("") (<--let's assume that is was dynamic)

on a filter on a gadget of a dashboard, then it will not be visible for portal only customers.

Are you talking about portal only customers, or jira user customers (the latter have application access to Jira as well)?

David Harkins
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.
August 31, 2022

@Alex Koxaras -Relational- 

where the current user is a member of an Organization which is specified in the Organizations field (CF 10110)

Alex Koxaras -Relational-
Community Champion
August 31, 2022

 

Do you have script runner?

David Harkins
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.
September 1, 2022

Yeah

Alex Koxaras -Relational-
Community Champion
September 1, 2022

You could possibly try and create a custom JQL function with a bit of code.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events