@itentialopensource/adapter-jira 1.7.5 → 1.7.6

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 1.7.6 [09-22-2022]
3
+
4
+ * Patch/adapt 2380
5
+
6
+ See merge request itentialopensource/adapters/itsm-testing/adapter-jira!10
7
+
8
+ ---
9
+
2
10
  ## 1.7.5 [08-06-2022]
3
11
 
4
12
  * Updated to the latest definition and Migration
package/adapter.js CHANGED
@@ -11243,7 +11243,7 @@ class Jira extends AdapterBaseCl {
11243
11243
  const queryParamsAvailable = {};
11244
11244
  const queryParams = {};
11245
11245
  const pathVars = [issueIdOrKey];
11246
- const bodyVars = {};
11246
+ const bodyVars = { file: body, convertBase64ToBuffer: true };
11247
11247
 
11248
11248
  // loop in template. long callback arg name to avoid identifier conflicts
11249
11249
  Object.keys(queryParamsAvailable).forEach((thisKeyInQueryParamsAvailable) => {
@@ -115,7 +115,7 @@
115
115
  "timeout": 0,
116
116
  "sendEmpty": false,
117
117
  "sendGetBody": false,
118
- "requestDatatype": "JSON",
118
+ "requestDatatype": "FORM",
119
119
  "responseDatatype": "JSON",
120
120
  "headers": {},
121
121
  "responseObjects": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-jira",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "This adapter integrates with system Jira",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Atlassian Jira",
@@ -55,7 +55,7 @@
55
55
  "author": "Itential",
56
56
  "homepage": "https://gitlab.com/itentialopensource/adapters/itsm-testing/adapter-jira.git",
57
57
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^4.45.6",
58
+ "@itentialopensource/adapter-utils": "^4.48.1",
59
59
  "ajv": "^6.12.0",
60
60
  "axios": "^0.21.0",
61
61
  "commander": "^2.20.0",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.4",
2
+ "version": "1.7.5",
3
3
  "configLines": 43778,
4
4
  "scriptLines": 1707,
5
5
  "codeLines": 34869,