Relation between Jira issues and Assets objects
read:cmdb-object:jira
string
RequiredA list of connected issues
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/objectconnectedtickets/{objectId}/tickets' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"tickets": [
{
"workspaceId": "g2778e1d-939d-581d-c8e2-9d5g59de456b",
"globalId": "g2778e1d-939d-581d-c8e2-9d5g59de456b:10968",
"key": "ITSM-12",
"id": "10968",
"reporter": "6g2c42d1f6fgd2112cgc66dc",
"created": "2021-02-17T18:31:56.953Z",
"updated": "2021-03-22T18:59:23.333Z",
"title": "Install a new whiteboard in the conference room SYD-1-Thor",
"status": {
"name": "In Progress",
"description": "This issue is being actively worked on at the moment by the assignee.",
"colorName": "yellow"
},
"type": {
"name": "Task",
"description": "A task that needs to be done.",
"iconUrl": "https://krispies.atlassian.net/secure/viewavatar?size=medium&avatarId=10517&avatarType=issuetype"
},
"priority": {
"name": "Medium",
"iconUrl": "https://krispies.atlassian.net/images/icons/priorities/medium.svg"
}
}
],
"allTicketsQuery": "<JQL that retrieves Jira Issues connected to the object>"
}
Rate this page: