How to use JQL vb.net??

fidel mystal March 27, 2014

Hi

I m trying to get information about issues of a specific project (SAPBO). The project exists and there re more than ten issues related with this. My Jira user has assigneed 6 issues related SAPBO project.

I ve used all the posibilities by jql query, and i get back two responses (error or zero issues). Here i show you what i had tried and the results:

"https://<MyHOST>/rest/api/2/search?jql=project=SAPBO" Error 400

"https://<MyHOST>/rest/api/2/search?jql%3Dproject%3DSAPBO" ZERO ISSUES

"https://<MyHOST>/rest/api/2/search?project=SAPBO"ZERO ISSUES

"https://<MyHOST>/rest/api/2/search?jql=assignee=fjmystal" Error 400

"https://<MyHOST>/rest/api/2/search?jql%3dassignee%3dfjmystal" ZERO ISSUES

2 answers

0 votes
Daniel Schwarz March 27, 2014

On my Jira instance I'm successfully using this syntax:

http://<MyHOST>/jira/rest/api/2/search?jql=project%20=%20%22SAPBO%22

You could consider using a REST-Tool (like the Plugin "RESTclient" for Firefox") to check the syntax of your REST-calls

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2014

I don't think your REST JQL is incorrect, I suspect it's that you are logging in as a user who doesn't have permission to see the project.

Suggest an answer

Log in or Sign up to answer