...
Code Block |
---|
GET https://jira.external-share.com/webapi/share/{ SHARE_UUID } |
Code Block |
GET https://jira.external-share.com/webapi/share/{ SHARE_UUID }/activity GET /rest/servicedeskapi/request/{issueIdOrKey}/approval |
LIST OPERATION
This operation allows you to retrieve a sorted list of shares based on the options passed. You need to have an access to shared issues to be able to list shares. You can pass the following options as request parameters:
...
type - defines share type. Possible values: “ISSUE”, “BOARD”, “JQL”, “TIMELINE”.
issueId - required for ISSUE type shares.
projectId - required for BOARD, JQL and JQL TIMELINE type shares.
board - can be used to specify a specific board in the project.
...
Code Block | ||
---|---|---|
| ||
POST https://jira.external-share.com/webapi/share
{
"issueId": "10001",
"type": "ISSUE",
"expiration": 1649700933954,
"customFields": [{"id":"10020"}, {"id":"10021"}],
"selectedUsersConfig": {
"allowed": true,
"allowedNotification": false,
"list": [{"email": "expl@expl2.com"}, {"email": "expl@expl.com"}]
}
} |
UPDATE OPERATION
This operation allows you to update an existing UUID link.
Example Call:
Code Block |
---|
PUT https://jes-qa.warsawdynamics.com/webapi/share/{YOUR-ISSUE-UUID} |
DELETE OPERATION
This operation allows you to delete a single share based on its share uuid. It does not accept any additional options. Upon successful execution, it returns no content (HTTP 204). If an error occurs, a JSON with the error message will be provided.
Example Call:
Code Block |
---|
DELETE https://jira.external-share.com/webapi/share/{ SHARE_UUID } |
...