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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

262 views 5 0
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