junior
junior

Reputation: 496

Get Jira's Tickets from JIRA REST API (version 3) using Postman

I'm trying to get data from JIRA REST API using this link:

https://company.atlassian.net/rest/api/3/project/search

I have also set my authorization parameters, and at my parameters I have set:

KEY: jql | VALUE: project=EG

But my return at postman is this, it doesn't returns me any ticket's data:

{
    "self": "https://company.atlassian.net/rest/api/3/project/search?maxResults=50&startAt=0",
    "maxResults": 50,
    "startAt": 0,
    "total": 0,
    "isLast": true,
    "values": []
}

How can I get the Jira cards data?

Upvotes: 1

Views: 1188

Answers (1)

Adil B
Adil B

Reputation: 16778

Looking at the JIRA REST API v3 docs, I see an Issues Search endpoint at https://your-domain.atlassian.net/rest/api/3/search. This is different from the URL you're trying - it doesn't have /project in the URL.

Try setting the jql parameter to project = EG for this API like so:

https://your-domain.atlassian.net/rest/api/3/search?jql=project%20%3D%20EG

Upvotes: 0

Related Questions