Skip to content

Renaming and expanding on the getRoles methods #139

@jpastoor

Description

@jpastoor

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions