Problem supplying JQL to Rest API

Tanya Awasthi December 31, 2018

https://uadviser.atlassian.net/rest/api/2/search?jql=issuetype=test+AND+status%20in%20(Pass,fail)

THIS query is passing in the browser it is working but it is not working when i ma tryingg to pass it through java code. Can anybody help me with it

3 answers

1 vote
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2018

Hi @Tanya Awasthi,

What error do you get when trying this in java?

Did you add the authentication in java?

0 votes
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2019

What error do you receive exactly? Any error code or the exception? Any entries in the Jira logs? Without more information, we can not help you.

0 votes
Tanya Awasthi December 31, 2018

Yes I have added the authentication type . I get connection error . The connection response code is not 200. 

Suggest an answer

Log in or Sign up to answer