Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Cannot add actors to the given role #229

Open
nmehare opened this issue Dec 17, 2019 · 0 comments
Open

Cannot add actors to the given role #229

nmehare opened this issue Dec 17, 2019 · 0 comments

Comments

@nmehare
Copy link

nmehare commented Dec 17, 2019

I am trying to add actors to role using addActors method , below is my code:
jiraClientAuth.roles.addActors({
roleId: 10093,
user: useraccountIds
})

I am getting below exception everytime I try to execute this command.
{"statusCode":500,"body":{"errorMessages":["Internal server error"]

I tried it using cURL also but getting same exception:
curl -g -XPUT
--request POST
--url "https://.atlassian.net/rest/api/3/role/10093/actors"
--user ":"
--header 'Accept:application/json'
--header 'Content-Type:application/json'
--data '{"user": ["userAccountId1", "userAccountId2"]}'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant