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"]}'
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"]}'