Icon
    Import
    Iql
    Object
    Objectconnectedtickets
    Objectschema
    Objecttype
    Objecttypeattribute
    Progress
    Config

    Rate this page:

    Progress

    Get progress category imports {id}

    GET /jsm/insight/workspace/{workspaceId}/v{version}/progress/category/imports/{id}

    Show ongoing import process

    Request

    Path parameters
    id Required

    string

    The id of the import source configuration that the progress should be fetched for

    Example

    1
    2
    3
    curl --request GET \
      --url 'https://api.atlassian.com/jsm/insight/workspace/{workspaceId}/v{version}/progress/category/imports/{id}' \
      --header 'Accept: application/json'

    Responses

    Content typeValue
    application/json

    Progress

    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
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    {
      "progressInPercent": 100,
      "resourceId": "9fa74b56-d540-4494-b9b2-f27a9bad9e6a",
      "category": "imports",
      "status": "FINISHED",
      "stepDescription": "Updating references on objects",
      "currentStep": 6,
      "numberOfSteps": 6,
      "currentWorkUnits": 0,
      "currentStepTotalWorkUnits": 0,
      "totalWorkUnits": 0,
      "result": "OK",
      "resultData": {
        "type": "IMPORT",
        "started": "2021-04-20T13:57:52.415Z",
        "ended": "2021-04-20T13:57:53.240Z",
        "executedType": "MANUAL",
        "executedAsUser": {
          "avatarUrl": "https://avatar-management-url/6g2c42d1f6fgd2112cgc66dc/f0bfb5b7-7b3b-4ce6-98a6-bdb5825c19b4/48",
          "displayName": "John Smith",
          "name": "John Smith",
          "key": "6g2c42d1f6fgd2112cgc66dc",
          "emailAddress": "john.smith@atlassian.com",
          "isDeleted": false
        },
        "objectSchemaId": "6",
        "numberOfWorkers": 2,
        "executionTimeInMs": "825",
        "result": "OK",
        "status": "FINISHED",
        "importSourceId": "9fa74b56-d540-4494-b9b2-f27a9bad9e6a",
        "populatedObjectTypes": [
          "CSV Import"
        ],
        "moduleKey": "rlabs-import-type-csv",
        "onlyExecutedForObjectTypes": [],
        "objectTypeResultMap": {
          "159": {
            "objectTypeName": "CSV Import",
            "objectTypeId": "159",
            "objectsUpdated": 0,
            "objectsCreated": 25,
            "objectsCreatedIQL": "Key IN (\"ITSM-5172\",\"ITSM-5173\",\"ITSM-5174\",\"ITSM-5175\",\"ITSM-5170\",\"ITSM-5171\",\"ITSM-5169\",\"ITSM-5165\",\"ITSM-5166\",\"ITSM-5167\",\"ITSM-5168\",\"ITSM-5161\",\"ITSM-5183\",\"ITSM-5162\",\"ITSM-5184\",\"ITSM-5163\",\"ITSM-5185\",\"ITSM-5164\",\"ITSM-5180\",\"ITSM-5181\",\"ITSM-5182\",\"ITSM-5176\",\"ITSM-5177\",\"ITSM-5178\",\"ITSM-5179\")",
            "objectsIdentical": 0,
            "objectsMissingUpdated": 0,
            "objectsMissingDeleted": 0,
            "entriesInSource": 25,
            "duplicateEnries": 0,
            "emptyLabelEntries": 0,
            "emptyExternalIdEntries": 0,
            "objectsFilteredWithIQL": 0,
            "readExternalDataTimeInMs": 1,
            "writeInsightDataTimeInMs": 1561,
            "postFunctionTimeInMs": 0,
            "mapExternalDataTimeInMs": 0,
            "iqlFilteringTimeInMs": 0,
            "decidingActionsTimeInMs": 0,
            "executionTimeInMs": 1562,
            "objectsWithUpdatedReferences": 0,
            "errorCount": 0
          }
        },
        "updateReferencesTimeInMs": 1,
        "errorCount": 0
      },
      "resultMessage": "Import finished ok.",
      "actor": "6g2c42d1f6fgd2112cgc66dc",
      "startDate": "2021-04-20T13:57:52.404Z",
      "finishedDate": "2021-04-20T13:57:53.247Z",
      "executionUUID": "b36ebb89-4a75-4df3-9101-f40d2771db32"
    }

    Rate this page: