Is it possible to do a search in Jira without specifying an user?

Is there a way to search issues using Jira API (using Jql queries) which does not require to specify an user?

1 answer

1 accepted

0 vote

Not really - the system generally needs a user so it can parse through the user permissions. If you bypass that, you might as well bin all your security and then use any old dummy user in your searches.

That said, yes, there is code you can delve into, but it's not generally a good idea.

Could you explain what you're trying to achieve? We may be able to get you a better/cleaner way of doing it than an insecure search.

Thank you for your quick answer!

My goal is to save data from a search result into an external database, so that I can reuse it into another application.

In fact, I want to do a query which implies a Jql function and to save the issue counting in the database.

I think there is no other alternative, but I was wondering that since this is a Jira plugin I can search in query without specifying a user.

If you want to bypass all the security like that, you might as well just read the Jira database directly. Or set up a dummy user who has read-access to all projects

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot