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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

629 views 6 12
Read article

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