It's all about the answers!

Ask a question

Permission denied error using synctool


Elisabeth Carbone (616108) | asked Apr 03 '08, 11:13 a.m.
JAZZ DEVELOPER
I have set up CQ connector using manual on https://jazz.net/jazzdocs/index.jsp?topic=/com.ibm.team.connector.cq.doc/topics/c_configuring_and_using_the_clearquest_connector.html

But the synctool and the automatical syncronisation are not working.

Trying to import the users with the synctool I get the following error:
C:\jazz\connectors\gateway>synctool -Dcq.query.users
Running SyncTool...
Successfully logged into CQ.
Trying to login to https://localhost:9443/jazz ...

Synching users objects...
com.ibm.team.process.common.advice.TeamOperationCanceledException: 'Synchronize
with External Objects' failed. Permission denied.

Running the gateway and submitting a user in CQ the following error is returned:
com.ibm.team.interop.service.managers.clearquest.common.InteropException: com.ib
m.team.interop.service.managers.clearquest.common.InteropException: The POST ope
ration status was 500; expected 201
at com.ibm.rational.connector.cq.gateway.CQChangeEventProcessor.processC
hangeRecord(CQChangeEventProcessor.java:98)

The user I use in cqconnector.properties is a super user in CQ and in RTC he is included in all Repository groups and has all possible Process roles. In RTC the jazzuser is able to create users.

What have I missed, what permission do I have to set?

2 answers



permanent link
John Vasta (2.6k15) | answered Apr 04 '08, 4:05 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
You need to define permissions for the "com.ibm.team.interop.server.synchronize" operation in the team-configuration area of your process specification, for some role. The easiest thing to do is define it for the "default" role, since more than one identity needs that permission. So you would have something like this in your process specification:

<team-configuration>
<permissions>
<role id="default">
<operation id="com.ibm.team.interop.server.synchronize">
<action id="any"/>
</operation>
...
</role>
...
</permissions>
...
</team-configuration>

John
Jazz CQ Connector Team

permanent link
Elisabeth Carbone (616108) | answered Apr 22 '08, 3:27 p.m.
JAZZ DEVELOPER
Thank you. That helped.

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.