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
4,293,413
Community Members
 
Community Events
165
Community Groups

Is there any way to filter users based on their Organization/Department using JQL ?

Our Atlassian User Profiles are managed by Okta. The profile information synced between Okta and Atlassian. Is there any way to filter users based on their Organization/Department using JQL?

1 answer

0 votes
Kieren Atlassian Team Sep 15, 2020

Hi Salih,

I'm not sure if this profile information is available via JQL.

As an alternative, you could use the Group Names that your users are synced to, e.g.

reporter in membersOf("hr-dept-users")

Hi Kieren,

My use case was to automate the process of adding users to the groups based on their Department/Org.

Kieren Atlassian Team Sep 17, 2020

Hi Salih,

No sorry, we don't have any functions that would support that.

Since you can sync groups from Okta to Atlassian, you could look into what functions Okta provide to create groups based on the user Department/Org, and then sync those groups to Atlassian?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Account

How to change your Atlassian account email address

When using an Atlassian account that is not managed, it’s possible to change the email address, but we often receive the following notification on the email that we want to use: Sorry, we couldn'...

1,054 views 2 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you