3.4 OrgWise API token

OrgWise API token is available for OrgWise REST API v3.

Create an API token

Go to > Manage apps > API Token Configuration.

Click "Create".

The expires (days) should be a number among -1~1825. -1 mean this token is unlimited.

Call OrgWise V3 API with token

① Limitation

OrgWise is enabled in Jira. The token using to call API is active. OrgWise API token is available for OrgWise REST API v3 only.

② Request sample

API Description

Add members to a department by their member ID.

Request Type

GET

URL

{jira_base_url}/rest/orgwise/3/department/{id}/member/ids

Media Type

application/json

Header

Authorization: Bearer 0d0995d5-b85e-4546-a99c-bb8d5857733b

Body

{
  "members": "1, 4, 8"
}

③ Response

See general responses in https://dragonsoft.atlassian.net/wiki/spaces/DAS/pages/2135752813

Failed response:

{ "code": "401", "msg": "Invalid token" }