-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them.
For example, from the official document : https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators
Also the POST data shared in the document are schema details and are not the payload details that are required to be passed in the API.
Suggested Solution
Would like to request more information on these documents and provide an example for each call so that users can understand the usage better.
Why This Is Important
Since users are unable to use the REST api features correctly due to lack of information.
Workaround
This operation can be performed manually through the UI.
[CWD-5788] CROWD REST API for /rest/admin/1.0/group-level-admin/ are unclear and need more clarity on usage
Support reference count | New: 2 |
Description |
Original:
h3. Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them. For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them. For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] Also the POST data shared in the document are schema details and are not the payload details that are required to be passed in the API. h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Description |
Original:
h3. Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them. For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them. For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Description |
Original:
h3. Problem
Some of the CROWD REST apis specified from the official document do not appear to return the expected results or there is no correct explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Some of the CROWD REST apis specified from the official document do not have explanation on how to use them. For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Description |
Original:
h3. Problem
Some of the CROWD REST apis specified from the official document do not appear to return the right results or there is no correct explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } But using this results in : Can not deserialize instance of java.util.ArrayList out of START_OBJECT token Similarly, there are other calls that do not have the right usage syntax or returns error when using with the syntax provided in the document. h3. Suggested Solution Would like to request more clarity on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Some of the CROWD REST apis specified from the official document do not appear to return the expected results or there is no correct explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } h3. Suggested Solution Would like to request more information on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Description |
Original:
h3. Problem
Many of the CROWD REST apis specified from the official document do not work or there is no proper explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } But using this results in : Can not deserialize instance of java.util.ArrayList out of START_OBJECT token Similarly, there are other calls that do not have the right usage syntax or returns error when using with the syntax provided in the document. h3. Suggested Solution Would like to request more clarity on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Some of the CROWD REST apis specified from the official document do not appear to return the right results or there is no correct explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } But using this results in : Can not deserialize instance of java.util.ArrayList out of START_OBJECT token Similarly, there are other calls that do not have the right usage syntax or returns error when using with the syntax provided in the document. h3. Suggested Solution Would like to request more clarity on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Description |
Original:
h3. Problem
Many of the CROWD REST apis specified from the official document do not work or there is no proper explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } But using this results in : Can not deserialize instance of java.util.ArrayList out of START_OBJECT token Similarly, there are other calls that do not have the right usage syntax or returns error when using with the syntax provided in the document. h3. Suggested Solution Would like to request the documentation, dev teams to provide more clarity on these documents and provide an example for each call so that users can understand their usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
New:
h3. Problem
Many of the CROWD REST apis specified from the official document do not work or there is no proper explanation of how to use them For example, from the official document : [https://docs.atlassian.com/atlassian-crowd/4.4.1/REST/#admin/1.0/group-level-admin-addGroupAdministrators] The following is the syntax to include a group administrator: POST /rest/admin/1.0/group-level-admin/\{groupId}/admins Post Body: { "id": "https://docs.atlassian.com/jira/REST/schema/list-of-directory-entity-rest#", "title": "List of Directory Entity Rest", "type": "array", "items": { "title": "Directory Entity Rest", "type": "object", "properties": { "id": { "title": "Directory Entity Id", "type": "object" } , "type": { "type": "string", "enum": [ "USER", "GROUP" ] } }, "additionalProperties": false } } But using this results in : Can not deserialize instance of java.util.ArrayList out of START_OBJECT token Similarly, there are other calls that do not have the right usage syntax or returns error when using with the syntax provided in the document. h3. Suggested Solution Would like to request more clarity on these documents and provide an example for each call so that users can understand the usage better. h3. Why This Is Important _Since users are unable to use the REST api features correctly due to lack of information._ h3. Workaround _This operation can be performed manually through the UI._ |
Hi,
I'm interested by this problem because I have the same!
Did you find a solution ?