Get all the ProjectRoles available in Jira. Currently this list is global.
This request has no parameters.
Returns full details of the roles available in Jira.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/role' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Creates a new ProjectRole to be available in Jira. The created role does not have any default actors assigned.
The role to create
string
string
Returns full details of the created role
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/role' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Get a specific ProjectRole available in Jira.
integer
RequiredReturns full details of the role available in Jira.