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 votes
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
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