It's all about the answers!

Ask a question

Get 403 " forbidden error " when creating workitem resource via REST WebService in CCM


Balkrushna Bhise (135) | asked Oct 10 '17, 9:15 a.m.
edited Oct 11 '17, 2:35 a.m.

 


I have a REST Client Chrome extension on this tool to get/create/update workitems into jke banking CCM project .

At time of creating work item i  got error
1) Jazz - Permission Denied
2) Your account does not have the group memberships required to access the requested resource

Accepted answer


permanent link
Ulf Arne Bister (1.3k413) | answered Oct 11 '17, 3:32 a.m.

I suggest to check out https://jazz.net/forum/questions/175980/why-status-code-403-forbidden-while-trying-to-create-workitem-using-rest-api-oslc specifically the part about the header "X-Jazz-CSRF-Prevent" with the current JSESSIONID.

- Arne

Balkrushna Bhise selected this answer as the correct answer

One other answer



permanent link
Ulf Arne Bister (1.3k413) | answered Oct 11 '17, 2:30 a.m.

Hi,

the error message strongly indicates that the user under which you authenticate with your REST Client is not part of the JAZZ_USER, JAZZ_ADMINS or JAZZ_PROJECT_ADMINS group (they might be called slightly different in your environment) or if so then is missing membership in the project area / team area for which the work item should be created.
Can you manually log in with the same user and create a work item via the UI in that project area? Does the ccm log indicate anything in addition to the error message above?

- Arne


Comments
Balkrushna Bhise commented Oct 11 '17, 3:21 a.m.

 Yes,

       i logged with same user and created workitem via the UI , It Works properly and there are no error message in ccm log file.

Plz suggest me how to resolve this issue..

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.