Forums

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

JIRA REST API call to list tasks

jialin May 23, 2022

Hi All,

I'm trying to list Jira tasks using REST API. The tool I used to test the API call is the Chrome extension Talend API Tester, a basic REST API testing tool.

From the web browser I can view all issues related to project XXX from:

https://<mycompany>.atlassian.net/browse/XXX-1?jql=project%3DXXX

So in the API Tester, I tried to fire this request (also gave the correct username and password within the tool):

GET https://<mycompany>.atlassian.net:8080/rest/api/2/search?jql=project%3DXXX

this request had failed with no response. also it was a timeout when I tried to 'ping <mycompany>.atlassian.net'

what am I missing here?

1 answer

1 accepted

3 votes
Answer accepted
DasJo
Contributor
May 23, 2022

Without the port it works for me. So you can try it with:

https://<mycompany>.atlassian.net/rest/api/2/search?jql=project%3DXXX

Greeting,

Josef

jialin May 23, 2022

Removing the port number had fixed my issue. Many thanks Josef!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events