It's all about the answers!

Ask a question

create work item with REST service

Milan Krivic (98010172140) | asked Oct 20 '16, 10:06 a.m.

I am trying to create work item with REST service with json structure.

In old version of REST addons of Google Chrome and Mozzila Firefox I was successfull to do it, but now I am getting 302 status always, which says that I need authentification. 
I 've been already authenticated during the REST service call, but still the same thing.

Now, I am using only Mozzila firefox rest addon.

Here is my url for creating work item in JKE banking (ccm):


Here is my body content:

    "dc:title":"Test work item",
    "dc:description":"Test wi description",


After I run Send, I am getting the following response:

It seems my user don't have appropriate rights, but I am logged in while I 've been executing this REST service.

Am I doing something wrong?

Kind regards,

3 answers

permanent link
Donald Nong (14.5k414) | answered Nov 01 '16, 2:09 a.m.
You said the return code was 302 but your screen shot shows 403. Which one is correct?

If your screen shot is to be trusted, the error message says that your account lacks the JazzUsers (or JazzAdmins) repository role. As you appear to be using Firefox with the RESTClient addon, and you log on CCM already, the easiest way to verify is to go into the user profile and see what Repository Permissions have been assigned.

permanent link
Milan Krivic (98010172140) | answered Feb 20 '17, 3:47 a.m.


sorry for my late answer.
I am getting 403 Forbidden, and I checked for several times, my user is a part of Security groups that can access to JTS. 
Is there could be a reason in authentication type? We are using WAS 8.5.5. and SSO mechanism.


Donald Nong commented Feb 20 '17, 7:06 p.m.

In WAS, security role mapping is done separately in JTS and CCM/(jazz in your case), so you need to do it separately. Having a correct role in JTS does not automatically give you the correct one in CCM.

permanent link
Milan Krivic (98010172140) | answered Feb 20 '17, 3:53 a.m.

 just to know, we are using form-based authentication.

Is there any example for calling rest service with form-based authentication?


Donald Nong commented Feb 20 '17, 7:05 p.m.

I've answered in your other post. Check this out.

Your answer

Register or 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.