Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 74845

JT-19927: HTTP 404 for GET /admin/customfield/versionBundle

$
0
0
Reporter Geoff Hart (gghart) Geoff Hart (gghart)
Created May 27, 2013 9:03:37 PM
Updated May 28, 2013 12:24:01 PM
Priority Normal
Type Bug
State Open
Assignee Anna Zhdan (Anna.Zhdan)
Subsystem REST API
Fix versions No Fix versions
Fixed in builds No Fixed in build
Affected versions 4.2.2
Browser Any Browser
OS Any OS
Verified in build Not verified
Verified by Nobody
Reviewed by No reviewed by
Severity Routine
Summary:
YouTrack now returns an HTTP 404 error instead of an empty list when you query a version that does not exist. This change does not appear to ahve been documented and breaks our auto-submit application.

Details:
Our bug auto-submit tool in our application has used the REST API for many months to submit bug repors. Recently, it started failing with an HTTP 404 error (we didn't change our code). Debugging the problem shows that what's changed is when we query:

http://xxx.myjetbrains.com/youtrack/rest/admin/customfield/versionBundle/Yyy Versions/7.1.02

If version '7.1.02' doesn't exist, it used to return an empty list of XML. In the current version (4.2.2), it returns HTTP 404 instead.

Please clarify the expected behaviour of this API and document the negative use case in your documentation at:
http://confluence.jetbrains.com/display/YTD4/Get+a+Version+from+a+Bundle

Thanks,

Geoff Hart

Viewing all articles
Browse latest Browse all 74845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>