Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Crowd Rest API

Pedro Felgueiras
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2018

I'm ting to create some groups with crowd rest api 

I'm using the endpoint: POST /crowd/rest/group

With the authentication from my application (Jira)

And body: {"name" : "mygroupname", "type" : "GROUP", "description" : "My Group Description","active" : true}

The responso that I got is: 

"Unable to authenticate user as there are no directories mapped to the application google-apps"

 

I'm not using the login from google-apps and don't know why i'm getting this error.

 

1 answer

1 accepted

0 votes
Answer accepted
Bruno Vincent
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2018

Hi @Pedro Felgueiras

That's because you're not using the right endpoint URI. You must use

/crowd/rest/usermanagement/1/group

Screen Shot 2018-11-07 at 17.43.03.png

Screen Shot 2018-11-07 at 17.43.26.png

Pedro Felgueiras
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2018

Thank you @Bruno Vincent

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events