Aql
    Icon
    Import
    Importsource
    Iql
    Object
    Objectconnectedtickets
    Objectschema
    Objecttype
    Objecttypeattribute
    Progress
    Config
    Global

    Rate this page:

    Objectconnectedtickets

    Get objectconnectedtickets {objectId} tickets

    GET /jsm/assets/workspace/{workspaceId}/v1/objectconnectedtickets/{objectId}/tickets

    Relation between Jira issues and Assets objects

    Request

    Path parameters
    objectId Required

    string

    The id of the object to get connected tickets for

    Example

    1
    2
    3
    curl --request GET \
      --url 'https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/objectconnectedtickets/{objectId}/tickets' \
      --header 'Accept: application/json'

    Responses

    Content typeValue
    application/json

    Tickets

    Example response (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": "id in (10968) and resolution is empty"
    }

    Rate this page: