@itentialopensource/adapter-jira 1.7.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CALLS.md +8329 -2178
- package/CHANGELOG.md +8 -0
- package/adapter.js +5582 -0
- package/entities/AnnouncementBanner/action.json +45 -0
- package/entities/AnnouncementBanner/mockdatafiles/getBanner-default.json +7 -0
- package/entities/AnnouncementBanner/schema.json +20 -0
- package/entities/AppMigration/action.json +64 -0
- package/entities/AppMigration/mockdatafiles/migrationResourceWorkflowRuleSearchPost-default.json +53 -0
- package/entities/AppMigration/schema.json +21 -0
- package/entities/AppProperties/action.json +126 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertiesGet-default.json +8 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourceGetAddonPropertyGet-default.json +5 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAddonPropertyPut-default.json +4 -0
- package/entities/AppProperties/mockdatafiles/addonPropertiesResourcePutAppPropertyPut-default.json +4 -0
- package/entities/AppProperties/schema.json +24 -0
- package/entities/Dashboards/action.json +102 -0
- package/entities/Dashboards/mockdatafiles/addGadget-default.json +10 -0
- package/entities/Dashboards/mockdatafiles/getAllAvailableDashboardGadgets-default.json +12 -0
- package/entities/Dashboards/mockdatafiles/getAllGadgets-default.json +34 -0
- package/entities/Dashboards/schema.json +6 -1
- package/entities/DynamicModules/action.json +65 -0
- package/entities/DynamicModules/schema.json +21 -0
- package/entities/Filters/action.json +20 -0
- package/entities/Filters/schema.json +2 -1
- package/entities/Issuefields/action.json +21 -0
- package/entities/Issuefields/mockdatafiles/getTrashedFieldsPaginated-default.json +35 -0
- package/entities/Issuefields/schema.json +2 -1
- package/entities/Issuenotificationschemes/action.json +121 -0
- package/entities/Issuenotificationschemes/mockdatafiles/createNotificationScheme-default.json +3 -0
- package/entities/Issuenotificationschemes/mockdatafiles/getNotificationSchemeToProjectMappings-default.json +12 -0
- package/entities/Issuenotificationschemes/schema.json +7 -1
- package/entities/Issuepriorities/action.json +121 -0
- package/entities/Issuepriorities/mockdatafiles/createPriority-default.json +3 -0
- package/entities/Issuepriorities/mockdatafiles/searchPriorities-default.json +26 -0
- package/entities/Issuepriorities/schema.json +7 -1
- package/entities/Issueresolutions/action.json +121 -0
- package/entities/Issueresolutions/mockdatafiles/createResolution-default.json +3 -0
- package/entities/Issueresolutions/mockdatafiles/searchResolutions-default.json +14 -0
- package/entities/Issueresolutions/schema.json +7 -1
- package/entities/Issuesecurityschemes/action.json +264 -0
- package/entities/Issuesecurityschemes/mockdatafiles/createIssueSecurityScheme-default.json +3 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevelMembers-default.json +17 -0
- package/entities/Issuesecurityschemes/mockdatafiles/getSecurityLevels-default.json +16 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchProjectsUsingSecuritySchemes-default.json +4 -0
- package/entities/Issuesecurityschemes/mockdatafiles/searchSecuritySchemes-default.json +10 -0
- package/entities/Issuesecurityschemes/schema.json +14 -1
- package/entities/JQL/action.json +20 -0
- package/entities/JQL/mockdatafiles/sanitiseJqlQueries-default.json +28 -0
- package/entities/JQL/schema.json +2 -1
- package/entities/JQLFunctionsApps/action.json +45 -0
- package/entities/JQLFunctionsApps/mockdatafiles/getPrecomputations-default.json +22 -0
- package/entities/JQLFunctionsApps/schema.json +20 -0
- package/entities/LicenseMetrics/action.json +46 -0
- package/entities/LicenseMetrics/schema.json +20 -0
- package/entities/Status/action.json +106 -0
- package/entities/Status/mockdatafiles/createStatuses-default.json +15 -0
- package/entities/Status/mockdatafiles/getStatusesById-default.json +24 -0
- package/entities/Status/mockdatafiles/search-default.json +32 -0
- package/entities/Status/schema.json +23 -0
- package/entities/UIModificationsApps/action.json +85 -0
- package/entities/UIModificationsApps/mockdatafiles/createUiModification-default.json +4 -0
- package/entities/UIModificationsApps/mockdatafiles/getUiModifications-default.json +53 -0
- package/entities/UIModificationsApps/schema.json +22 -0
- package/package.json +1 -1
- package/pronghorn.json +4860 -642
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/jira_v3.json +65406 -0
- package/test/integration/adapterTestIntegration.js +1903 -0
- package/test/unit/adapterTestUnit.js +2084 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1000",
|
|
4
|
+
"name": "Finished",
|
|
5
|
+
"statusCategory": "DONE",
|
|
6
|
+
"scope": {
|
|
7
|
+
"type": "PROJECT",
|
|
8
|
+
"project": {
|
|
9
|
+
"id": "1"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "The issue is resolved",
|
|
13
|
+
"usages": [
|
|
14
|
+
{
|
|
15
|
+
"project": {
|
|
16
|
+
"id": "1"
|
|
17
|
+
},
|
|
18
|
+
"issueTypes": [
|
|
19
|
+
"10002"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"self": "https://your-domain.atlassian.net/rest/api/3/statuses/search?startAt=0&maxResults=2",
|
|
3
|
+
"nextPage": "https://your-domain.atlassian.net/rest/api/3/statuses/search?startAt=2&maxResults=2",
|
|
4
|
+
"maxResults": 2,
|
|
5
|
+
"startAt": 0,
|
|
6
|
+
"total": 5,
|
|
7
|
+
"isLast": true,
|
|
8
|
+
"values": [
|
|
9
|
+
{
|
|
10
|
+
"id": "1000",
|
|
11
|
+
"name": "Finished",
|
|
12
|
+
"statusCategory": "DONE",
|
|
13
|
+
"scope": {
|
|
14
|
+
"type": "PROJECT",
|
|
15
|
+
"project": {
|
|
16
|
+
"id": "1"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"description": "The issue is resolved",
|
|
20
|
+
"usages": [
|
|
21
|
+
{
|
|
22
|
+
"project": {
|
|
23
|
+
"id": "1"
|
|
24
|
+
},
|
|
25
|
+
"issueTypes": [
|
|
26
|
+
"10002"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getStatusesById",
|
|
14
|
+
"updateStatuses",
|
|
15
|
+
"createStatuses",
|
|
16
|
+
"deleteStatusesById",
|
|
17
|
+
"search"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getUiModifications",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/uiModifications?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getUiModifications-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "createUiModification",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/uiModifications?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": "mockdatafiles/createUiModification-default.json"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "updateUiModification",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "PUT",
|
|
48
|
+
"entitypath": "{base_path}/{version}/uiModifications/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "deleteUiModification",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "DELETE",
|
|
68
|
+
"entitypath": "{base_path}/{version}/uiModifications/{pathv1}?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxResults": 100,
|
|
3
|
+
"startAt": 0,
|
|
4
|
+
"total": 3,
|
|
5
|
+
"isLast": true,
|
|
6
|
+
"values": [
|
|
7
|
+
{
|
|
8
|
+
"id": "d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
9
|
+
"name": "Reveal Story Points",
|
|
10
|
+
"description": "Reveals Story Points field when any Sprint is selected.",
|
|
11
|
+
"self": "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
12
|
+
"data": "{field: 'Story Points', config: {hidden: false}}",
|
|
13
|
+
"contexts": [
|
|
14
|
+
{
|
|
15
|
+
"id": "1533537a-bda3-4ac6-8481-846128cd9ef4",
|
|
16
|
+
"projectId": "10000",
|
|
17
|
+
"issueTypeId": "10000",
|
|
18
|
+
"viewType": "GIC",
|
|
19
|
+
"isAvailable": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "c016fefa-6eb3-40c9-8596-4c4ef273e67c",
|
|
23
|
+
"projectId": "10000",
|
|
24
|
+
"issueTypeId": "10001",
|
|
25
|
+
"viewType": "GIC",
|
|
26
|
+
"isAvailable": true
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
32
|
+
"name": "Set Assignee",
|
|
33
|
+
"description": "Sets the Assignee field automatically.",
|
|
34
|
+
"self": "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
35
|
+
"contexts": [
|
|
36
|
+
{
|
|
37
|
+
"id": "8b3740f9-8780-4958-8228-69dcfbda11d9",
|
|
38
|
+
"projectId": "10000",
|
|
39
|
+
"issueTypeId": "10000",
|
|
40
|
+
"viewType": "GIC",
|
|
41
|
+
"isAvailable": true
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
47
|
+
"name": "Hide Labels",
|
|
48
|
+
"description": "Hides Labels if any component is provided.",
|
|
49
|
+
"self": "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
50
|
+
"contexts": []
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getUiModifications",
|
|
14
|
+
"createUiModification",
|
|
15
|
+
"updateUiModification",
|
|
16
|
+
"deleteUiModification"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"definitions": {}
|
|
22
|
+
}
|