@itentialopensource/adapter-jira 2.0.0 → 2.1.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/AUTH.md +2 -8
- package/CALLS.md +1698 -2358
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +32 -23
- package/SYSTEMINFO.md +19 -4
- package/adapter.js +158 -329
- package/adapterBase.js +541 -877
- package/changelogs/changelog.md +122 -0
- package/metadata.json +94 -0
- package/package.json +25 -26
- package/pronghorn.json +471 -139
- package/propertiesSchema.json +422 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +65406 -0
- package/report/adapter-openapi.yaml +66802 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691511376916.json +120 -0
- package/report/updateReport1692202881338.json +120 -0
- package/report/updateReport1694464722118.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +131 -3
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +303 -112
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +57 -22
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/Jira Adapter Issue Workflow.json +0 -1
- package/workflows/Jira Adapter Project Workflow.json +0 -1
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
|
|
2
|
+
## 2.0.1 [06-06-2023]
|
|
3
|
+
|
|
4
|
+
* Cleaned up description information.
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!11
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 2.0.0 [05-18-2023]
|
|
11
|
+
|
|
12
|
+
* Add calls
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!12
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 1.7.6 [09-22-2022]
|
|
19
|
+
|
|
20
|
+
* Patch/adapt 2380
|
|
21
|
+
|
|
22
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!10
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 1.7.5 [08-06-2022]
|
|
27
|
+
|
|
28
|
+
* Updated to the latest definition and Migration
|
|
29
|
+
|
|
30
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!9
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 1.7.4 [03-08-2021]
|
|
35
|
+
|
|
36
|
+
* migration to the latest adapter foundation
|
|
37
|
+
|
|
38
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!8
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 1.7.3 [03-08-2021]
|
|
43
|
+
|
|
44
|
+
* migration to the latest adapter foundation
|
|
45
|
+
|
|
46
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!8
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 1.7.2 [07-08-2020]
|
|
51
|
+
|
|
52
|
+
* migration
|
|
53
|
+
|
|
54
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!7
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 1.7.1 [01-13-2020]
|
|
59
|
+
|
|
60
|
+
* december migration
|
|
61
|
+
|
|
62
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!6
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 1.7.0 [11-22-2019]
|
|
67
|
+
|
|
68
|
+
* update the adapter to the latest adapter foundation
|
|
69
|
+
|
|
70
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!5
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 1.6.0 [11-07-2019]
|
|
75
|
+
|
|
76
|
+
* update the adapter to the latest adapter foundation
|
|
77
|
+
|
|
78
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!5
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 1.5.0 [09-18-2019]
|
|
83
|
+
|
|
84
|
+
* september migration
|
|
85
|
+
|
|
86
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!4
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
## 1.4.0 [07-30-2019]
|
|
90
|
+
* migration, cateogorization and artifactize
|
|
91
|
+
|
|
92
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!3
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## 1.3.0 [07-18-2019]
|
|
97
|
+
* migration, cateogorization and artifactize
|
|
98
|
+
|
|
99
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!3
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 1.2.0 [07-18-2019]
|
|
104
|
+
* migration, cateogorization and artifactize
|
|
105
|
+
|
|
106
|
+
See merge request itentialopensource/adapters/itsm-testing/adapter-jira!3
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## 1.1.0 [04-26-2019]
|
|
111
|
+
* Minor/ph 23751
|
|
112
|
+
|
|
113
|
+
See merge request itentialopensource/adapters/adapter-jira!2
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## 1.0.1 [04-09-2019]
|
|
118
|
+
* Bug fixes and performance improvements
|
|
119
|
+
|
|
120
|
+
See commit 0fc5ba4
|
|
121
|
+
|
|
122
|
+
---
|
package/metadata.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-jira",
|
|
3
|
+
"webName": "Adapter for Integration to Jira",
|
|
4
|
+
"vendor": "Atlassian",
|
|
5
|
+
"product": "Jira",
|
|
6
|
+
"osVersion": [],
|
|
7
|
+
"apiVersions": [
|
|
8
|
+
"v2",
|
|
9
|
+
"v3"
|
|
10
|
+
],
|
|
11
|
+
"iapVersions": [
|
|
12
|
+
"2021.1.x",
|
|
13
|
+
"2021.2.x",
|
|
14
|
+
"2022.1.x",
|
|
15
|
+
"2023.1.x"
|
|
16
|
+
],
|
|
17
|
+
"method": "REST",
|
|
18
|
+
"type": "Adapter",
|
|
19
|
+
"domains": [
|
|
20
|
+
"ITSM or Service Management"
|
|
21
|
+
],
|
|
22
|
+
"tags": [
|
|
23
|
+
"Ticket/Issue Management"
|
|
24
|
+
],
|
|
25
|
+
"useCases": [
|
|
26
|
+
"Create, update, close or cancel tickets/issues for Problems/Solutions during Automations"
|
|
27
|
+
],
|
|
28
|
+
"deprecated": {
|
|
29
|
+
"isDeprecated": false
|
|
30
|
+
},
|
|
31
|
+
"brokerSince": "",
|
|
32
|
+
"documentation": {
|
|
33
|
+
"storeLink": "",
|
|
34
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-jira",
|
|
35
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira.git",
|
|
36
|
+
"docLink": "https://docs.itential.com/opensource/docs/jira",
|
|
37
|
+
"demoLinks": [],
|
|
38
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
39
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
40
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
41
|
+
"webLink": "https://www.itential.com/adapters/jira/",
|
|
42
|
+
"vendorLink": "https://www.atlassian.com/",
|
|
43
|
+
"productLink": "https://www.atlassian.com/software/jira",
|
|
44
|
+
"apiLinks": [
|
|
45
|
+
"https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#version"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"assets": [],
|
|
49
|
+
"relatedItems": {
|
|
50
|
+
"adapters": [],
|
|
51
|
+
"integrations": [],
|
|
52
|
+
"ecosystemApplications": [],
|
|
53
|
+
"workflowProjects": [
|
|
54
|
+
{
|
|
55
|
+
"name": "Jira Issue Transition",
|
|
56
|
+
"webName": "Project with workflows for the Issue Transition from Jira",
|
|
57
|
+
"overview": "This Pre-Built integrates with the [Jira Open Source Adapter](https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira) to transition an issue from one status to another within Jira.",
|
|
58
|
+
"isDependency": false,
|
|
59
|
+
"versions": [
|
|
60
|
+
"0.0.18"
|
|
61
|
+
],
|
|
62
|
+
"repoLink": "https://gitlab.com/itentialopensource/pre-built-automations/jira-issue-transition",
|
|
63
|
+
"docLink": "",
|
|
64
|
+
"webLink": "https://www.itential.com/automations/jira-issue-transition/"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Jira Project Creation",
|
|
68
|
+
"webName": "Project with workflows for the Project Creation from Jira",
|
|
69
|
+
"overview": "This Pre-Built integrates with the [Jira Open Source Adapter](https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira) to create a project within Jira. This Pre-Built may be leveraged if a process consistently requires creating a new project within Jira.",
|
|
70
|
+
"isDependency": false,
|
|
71
|
+
"versions": [
|
|
72
|
+
"0.0.18"
|
|
73
|
+
],
|
|
74
|
+
"repoLink": "https://gitlab.com/itentialopensource/pre-built-automations/jira-project-creation",
|
|
75
|
+
"docLink": "",
|
|
76
|
+
"webLink": "https://www.itential.com/automations/jira-project-creation/"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "Jira Issue Creation",
|
|
80
|
+
"webName": "Project with workflows for the Issue Creation from Jira",
|
|
81
|
+
"overview": "This Pre-Built integrates with the [Jira Open Source Adapter](https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira) to create an issue within Jira.",
|
|
82
|
+
"isDependency": false,
|
|
83
|
+
"versions": [
|
|
84
|
+
"0.0.19"
|
|
85
|
+
],
|
|
86
|
+
"repoLink": "https://gitlab.com/itentialopensource/pre-built-automations/jira-issue-creation",
|
|
87
|
+
"docLink": "",
|
|
88
|
+
"webLink": "https://www.itential.com/automations/jira-issue-creation/"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"transformationProjects": [],
|
|
92
|
+
"exampleProjects": []
|
|
93
|
+
}
|
|
94
|
+
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-jira",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "This adapter integrates with system Jira",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"systemName": "
|
|
6
|
+
"systemName": "Jira",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.
|
|
8
|
+
"engineVersion": "1.67.8",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
12
|
-
"preinstall": "node utils/setup.js
|
|
12
|
+
"preinstall": "node utils/setup.js",
|
|
13
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
14
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
15
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
16
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
"adapter:migrate": "node utils/modify.js -m",
|
|
25
26
|
"adapter:update": "node utils/modify.js -u",
|
|
26
27
|
"adapter:revert": "node utils/modify.js -r",
|
|
27
|
-
"troubleshoot": "node utils/tbScript.js",
|
|
28
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
28
29
|
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
29
30
|
"basicget": "node utils/tbScript.js basicget",
|
|
30
31
|
"connectivity": "node utils/tbScript.js connectivity",
|
|
@@ -55,33 +56,31 @@
|
|
|
55
56
|
"author": "Itential",
|
|
56
57
|
"homepage": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira.git",
|
|
57
58
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
59
|
+
"@itentialopensource/adapter-utils": "^5.1.7",
|
|
60
|
+
"acorn": "^8.10.0",
|
|
61
|
+
"ajv": "^8.12.0",
|
|
62
|
+
"axios": "^1.4.0",
|
|
63
|
+
"commander": "^11.0.0",
|
|
64
|
+
"dns-lookup-promise": "^1.0.4",
|
|
65
|
+
"fs-extra": "^11.1.1",
|
|
64
66
|
"json-query": "^2.2.2",
|
|
65
|
-
"mocha": "^
|
|
67
|
+
"mocha": "^10.2.0",
|
|
66
68
|
"mocha-param": "^2.0.1",
|
|
67
|
-
"mongodb": "^4.
|
|
68
|
-
"network-diagnostics": "^0.5.3",
|
|
69
|
+
"mongodb": "^4.16.0",
|
|
69
70
|
"nyc": "^15.1.0",
|
|
71
|
+
"ping": "^0.4.4",
|
|
72
|
+
"prompts": "^2.4.2",
|
|
70
73
|
"readline-sync": "^1.4.10",
|
|
71
|
-
"semver": "^7.3
|
|
72
|
-
"winston": "^3.
|
|
74
|
+
"semver": "^7.5.3",
|
|
75
|
+
"winston": "^3.9.0"
|
|
73
76
|
},
|
|
74
77
|
"devDependencies": {
|
|
75
|
-
"chai": "^4.3.
|
|
76
|
-
"eslint": "^
|
|
77
|
-
"eslint-config-airbnb-base": "^
|
|
78
|
-
"eslint-plugin-import": "^2.
|
|
79
|
-
"eslint-plugin-json": "^3.
|
|
80
|
-
"
|
|
81
|
-
"testdouble": "^3.16.1"
|
|
82
|
-
},
|
|
83
|
-
"resolutions": {
|
|
84
|
-
"minimist": "^1.2.5"
|
|
78
|
+
"chai": "^4.3.7",
|
|
79
|
+
"eslint": "^8.44.0",
|
|
80
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
81
|
+
"eslint-plugin-import": "^2.27.5",
|
|
82
|
+
"eslint-plugin-json": "^3.1.0",
|
|
83
|
+
"testdouble": "^3.18.0"
|
|
85
84
|
},
|
|
86
85
|
"private": false
|
|
87
86
|
}
|