What could be the reason for HTTP 500 - Internal Server Error when creating work item draft?
This is is something that just recently stopped working for me. My code creates a draft work item (type is "task") in the "Jazz Foundation" project. It just started returning an HTTP 500 - Internal Server Error.
One thing I notice is that the server was upgraded recently. Seems that server is now:
Is there a way to find out more about the problem?
One thing I notice is that the server was upgraded recently. Seems that server is now:
Jazz Foundation - Core Libraries | 6.0 M10 | RJF-I20150312-1131 |
Is there a way to find out more about the problem?
Comments
Donald Nong
Mar 26 '15, 5:37 a.m.Depending how your code is done. It may be tied to a particular version. In other words, code works with 5.0 may not work with 6.0.
Lori Ruffing
Mar 26 '15, 7:27 p.m.Can you tell anything from the CURL commands?
set COOKIES=.\cookies.txt
set USER=
set PASSWORD=
set HOST=https://jazz.net/jazz
curl -k -c %cookies% "%host%/jts/authenticated/identity" >nul
curl -k -L -b %COOKIES% -c %COOKIES% -d j_username=%USER% -d j_password=%PASSWORD% "%host%/jts/authenticated/j_security_check" >nul
curl -k -b %COOKIES% -H "Content-Type: application/json" -H "Accept: text/json" -X POST --data-binary @create-simple.json "%host%/oslc/contexts/_Q2fMII8EEd2Q-OW8dr3S5w/drafts/workitems"
Lori Ruffing
Mar 26 '15, 7:27 p.m.Content of create_simple.json file:
{
"dc:title":"Documentation update needed",
"dc:description":"Here is the description",
"dc:type":
{
"rdf:resource":"https:\/\/jazz.net\/jazz\/oslc\/types\/_Q2fMII8EEd2Q-OW8dr3S5w\/task"
},
"rtc_cm:teamArea":
{
"rdf:resource": "https:\/\/jazz.net\/jazz\/oslc\/teamareas\/_I3iq8BTPEd6zz6xdSaYlGQ"
},
"rtc_cm:filedAgainst":
{
"rdf:resource": "https:\/\/jazz.net\/jazz\/resource\/itemOid\/com.ibm.team.workitem.Category\/_v2l5gBTPEd6zz6xdSaYlGQ"
}
}