Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:
Jazz Foundation - Core Libraries 6.0 M10 RJF-I20150312-1131

Is there a way to find out more about the problem?

0 votes

Comments

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.

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"

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"
    }
}


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 25 '15, 8:06 p.m.

Question was seen: 4,669 times

Last updated: Mar 26 '15, 7:27 p.m.

Confirmation Cancel Confirm