It's all about the answers!

Ask a question

export the list of permssion for each role


Chidambaram L (23424389) | asked Nov 04 '20, 2:41 a.m.
I need to extract the list of roles & its permissions in excel or xml for DNG, RTC & AM. Can this be extracted using Plain Java or REST API ?
Excel would be good platform for Roles & Permissions discussion with the Business community.
Roles & Permissions are fixed to each context. can this be downloaded from somewhere.

One answer



permanent link
Chidambaram L (23424389) | answered Nov 09 '20, 4:46 a.m.
edited Nov 09 '20, 5:31 a.m.

REST call to read the list of permissions in the project. this does not show the permission granted for each role.


https://server:port/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/permissionExtensions?context=1&processAreaItemId=projectUUID&owningApplicationKey=JTS-Sentinel-Id



REST call to add permission to a particular role:

https://server:port/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/projectArea

form POST:

    itemId "tT_swLp7Eemed5Qb7DsVmg"
    stateId "_7-KJgCJuEeupXY0yKf6Msg"
    owningApplicationKey "JTS-Sentinel-Id"
    jsonMembers "{}"
    jsonAdmins "{}"
    processLocale "en_US"
    jsonTeamConfigurationPermissions
{
  "granted": {
    "rolesToOperations": {
      "developer": {
        "com.ibm.team.build.server.saveBuildDefinition": [
          {
            "final": false,
            "explanation": "",
            "actionPaths": [
              "",
              "~#~#create",
              "~#_~#modify"
            ]
          }
        ]
      }
    }
  }
}
    publicVisible "false"
    memberVisible "true"
    specificUserVisible "false"

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.