It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

null for uri: 404 for searchUrl on filter search

I have a nightly job that pulls a filter json result to a local json file. It worked until last night, for months. Upon investigation, every filter "searchUrl" value I try now returns this, even when using a browser:
<status>

<status-code>404</status-code>

<message>null for uri: https://{url}/rest/search?jql=project+%3D+{project}+AND+issuetype+in+subTaskIssueTypes()+AND+Sprint+%3D+907+ORDER+BY+created+DESC</message>

</status>

ViewUrls seem to be working as expected.

1 answer

0 votes
DPK J Community Leader Oct 04, 2019

@Matt LinderAt a first glance, your url "https://{url}/rest/search?jql=.." doesn't seems to be correct. It must be "https://{url}/rest/api/3/search?jql=..."

Here is reference to REST API - https://developer.atlassian.com/cloud/jira/platform/rest/v3/?#api-rest-api-3-search-get

That would be an easy fix if I were making the url, but the url is coming from the api.

M380719.PNG

DPK J Community Leader Oct 07, 2019

@Matt LinderThis seems to be the bug in API response. You must report this to Atlassian.

I have also checked on my site and response is same, and is error prone.

Thanks for confirming.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

231 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you