mirror of
https://github.com/interviewstreet/go-jira.git
synced 2024-11-28 08:39:03 +02:00
5a7988ae5c
Add of RoleService with Get and GetList Add corresponding tests + mocks
26 lines
720 B
JSON
26 lines
720 B
JSON
[
|
|
{
|
|
"self": "https://sample.instance.org/rest/api/3/role/10002",
|
|
"name": "Administrator",
|
|
"id": 10002,
|
|
"description": "Administrator description",
|
|
"actors": [
|
|
{
|
|
"id": 10002,
|
|
"displayName": "jira-administrators",
|
|
"type": "atlassian-group-role-actor",
|
|
"name": "jira-administrators",
|
|
"actorGroup": {
|
|
"name": "jira-administrators",
|
|
"displayName": "jira-administrators"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"self": "https://sample.instance.org/rest/api/3/role/10222",
|
|
"name": "FooRole",
|
|
"id": 10222,
|
|
"description": "User with this role has should do fooo and bar tasks"
|
|
}
|
|
] |