Open
Description
This is were it gets a bit wonky :)
There are 2 types of Roles, Project Roles and Application Roles. Currently we only have support for Project Roles.
Project Roles can be fetched on 2 levels, using the global API call and one on a project layer.
https://docs.atlassian.com/jira/REST/cloud/#api/2/role-getProjectRoles
https://docs.atlassian.com/jira/REST/cloud/#api/2/project/{projectIdOrKey}/role-getProjectRoles
Im proposing to:
- Rename Api::getRoles to Api::getProjectRoles and Api::getRoleDetails to Api::getProjectRolesById
- Deprecate the old method names
- Add Api::getProjectRolesOfProject call for getting Project Roles of a specific project
- Add Api::getProjectRoleOfProjectById call for getting a specific Project Role of a specific project
Metadata
Metadata
Assignees
Labels
No labels