I have a process that runs every night, and uses JIRA API REST to download our workloads. It has been running for weeks, but since yesterday it looks like the same JQL query that produces a result on the web interface, does not return any issue when invoked from the API.
For example, a simple "project in ('XXX')" query produces the expected result when launched on the web interface, but using the exact same query on Podman all I get is this:
{
"issues": [],
"isLast": true
}
Sorry guys, I found the problem: somebody changed the tenant's URL...
I did not notice anything in the UI, because there is an automatic redirection, and the API was just not returning any data (instead of raising an error). After updating the URL, everything is working again.
Thanks for your help!
What Rest Endpoint are you invoking?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for your information:
/rest/api/3/search is deprecated. https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
You should use /rest/api/3/search/jql https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using the new endpoint:
https://<mydomain>.atlassian.net/rest/api/3/search/jql?jql=project IN ('XXX')&maxResults=100
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The user you try in pstman is the same that in in UI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Eduardo Pérez Esteban
Which API endpoint are you using? Have you checked the recent API changes for the endpoint that you were using? Also, have you checked the Atlassian developer changelogs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using the new endpoint:
https://<mydomain>.atlassian.net/rest/api/3/search/jql?jql=project IN ('XXX')&maxResults=100I cannot see any API changes for this endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.