Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JQL used to filter issues on the Customer Portal

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 Community Leader Aug 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)?

@Alex Koxaras 

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

Alex Koxaras Community Leader Aug 31, 2022


Do you have script runner?

Alex Koxaras Community Leader Sep 01, 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

Atlassian Community Events