Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
TAGS
AUG Leaders

Atlassian Community Events