Forums

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

Jira REST jql only executes only first statement

fatma January 8, 2019

hey im trying to get all issues for the current logged in user

 

 

jql=project=\"" + sd.getProjectKey() + "\"&reporter=\"" + auth.substring(0, auth.indexOf(":")) + "\""; 

 

sd.getProjectKey() returns  service desk projects

Any suggestions?

2.6.0.0

2.6.0.0

1 answer

0 votes
Alexey Matveev
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.
January 8, 2019

Hello,

How do you send your Rest Request. I guess, the request is not encoded.

You can read more about encoding here:

https://www.w3schools.com/tags/ref_urlencode.asp

fatma January 9, 2019

thank you for your reply

https://csl-stg-servicedesk01/rest/api/2/search?jql=project="projectname"&reporter="userID"

this is how i pass the rest request and its working in the browser.

how ever in my controller not.

2.6.0.0

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events