@itentialopensource/adapter-jira 1.7.2 → 1.7.5
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/.eslintignore +1 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +7365 -0
- package/CHANGELOG.md +24 -0
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +228 -420
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +18753 -4899
- package/adapterBase.js +1274 -236
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/Avatars/action.json +63 -0
- package/entities/Avatars/schema.json +4 -1
- package/entities/Dashboards/action.json +80 -0
- package/entities/Dashboards/mockdatafiles/copyDashboard-default.json +13 -0
- package/entities/Dashboards/mockdatafiles/createDashboard-default.json +13 -0
- package/entities/Dashboards/mockdatafiles/updateDashboard-default.json +13 -0
- package/entities/Dashboards/schema.json +5 -1
- package/entities/Groups/action.json +21 -0
- package/entities/Groups/mockdatafiles/bulkGetGroups-default.json +16 -0
- package/entities/Groups/schema.json +2 -1
- package/entities/InstanceInformation/action.json +25 -0
- package/entities/InstanceInformation/mockdatafiles/getLicense-default.json +20 -0
- package/entities/InstanceInformation/schema.json +19 -0
- package/entities/IssueCustomFieldConfigurationApps/action.json +45 -0
- package/entities/IssueCustomFieldConfigurationApps/mockdatafiles/getCustomFieldConfiguration-default.json +34 -0
- package/entities/IssueCustomFieldConfigurationApps/schema.json +20 -0
- package/entities/IssueCustomFieldContexts/action.json +268 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/createCustomFieldContext-default.json +9 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/getContextsForField-default.json +22 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/getCustomFieldContextsForProjectsAndIssueTypes-default.json +23 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/getDefaultValues-default.json +22 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/getIssueTypeMappingsForContexts-default.json +20 -0
- package/entities/IssueCustomFieldContexts/mockdatafiles/getProjectContextMapping-default.json +16 -0
- package/entities/IssueCustomFieldContexts/schema.json +31 -0
- package/entities/IssueCustomFieldOptions/action.json +105 -0
- package/entities/IssueCustomFieldOptions/mockdatafiles/createCustomFieldOption-default.json +20 -0
- package/entities/IssueCustomFieldOptions/mockdatafiles/getOptionsForContext-default.json +26 -0
- package/entities/IssueCustomFieldOptions/mockdatafiles/updateCustomFieldOption-default.json +19 -0
- package/entities/IssueCustomFieldOptions/schema.json +23 -0
- package/entities/IssueCustomFieldValuesApps/action.json +44 -0
- package/entities/IssueCustomFieldValuesApps/schema.json +20 -0
- package/entities/IssueFieldConfigurations/action.json +309 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/createFieldConfiguration-default.json +5 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/createFieldConfigurationScheme-default.json +5 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/getAllFieldConfigurationSchemes-default.json +23 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/getAllFieldConfigurations-default.json +19 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/getFieldConfigurationItems-default.json +19 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/getFieldConfigurationSchemeMappings-default.json +33 -0
- package/entities/IssueFieldConfigurations/mockdatafiles/getFieldConfigurationSchemeProjectMapping-default.json +26 -0
- package/entities/IssueFieldConfigurations/schema.json +33 -0
- package/entities/IssueTypeSchemes/action.json +207 -0
- package/entities/IssueTypeSchemes/mockdatafiles/createIssueTypeScheme-default.json +3 -0
- package/entities/IssueTypeSchemes/mockdatafiles/getAllIssueTypeSchemes-default.json +26 -0
- package/entities/IssueTypeSchemes/mockdatafiles/getIssueTypeSchemeForProjects-default.json +44 -0
- package/entities/IssueTypeSchemes/mockdatafiles/getIssueTypeSchemesMapping-default.json +24 -0
- package/entities/IssueTypeSchemes/schema.json +28 -0
- package/entities/IssueTypeScreenSchemes/action.json +228 -0
- package/entities/IssueTypeScreenSchemes/mockdatafiles/createIssueTypeScreenScheme-default.json +3 -0
- package/entities/IssueTypeScreenSchemes/mockdatafiles/getIssueTypeScreenSchemeMappings-default.json +28 -0
- package/entities/IssueTypeScreenSchemes/mockdatafiles/getIssueTypeScreenSchemeProjectAssociations-default.json +19 -0
- package/entities/IssueTypeScreenSchemes/mockdatafiles/getIssueTypeScreenSchemes-default.json +18 -0
- package/entities/IssueTypeScreenSchemes/mockdatafiles/getProjectsForIssueTypeScreenScheme-default.json +27 -0
- package/entities/IssueTypeScreenSchemes/schema.json +29 -0
- package/entities/Issueattachments/action.json +42 -0
- package/entities/Issueattachments/schema.json +3 -1
- package/entities/Issuefields/action.json +122 -0
- package/entities/Issuefields/mockdatafiles/getContextsForFieldDeprecated-default.json +12 -0
- package/entities/Issuefields/mockdatafiles/getFieldsPaginated-default.json +46 -0
- package/entities/Issuefields/schema.json +7 -1
- package/entities/Issueproperties/action.json +40 -0
- package/entities/Issueproperties/schema.json +3 -1
- package/entities/Issues/action.json +45 -0
- package/entities/Issues/mockdatafiles/getChangeLogsByIds-default.json +65 -0
- package/entities/Issues/mockdatafiles/getEvents-default.json +10 -0
- package/entities/Issues/schema.json +20 -0
- package/entities/Issuesearch/action.json +20 -0
- package/entities/Issuesearch/mockdatafiles/matchIssues-default.json +29 -0
- package/entities/Issuesearch/schema.json +2 -1
- package/entities/Issuesecuritylevel/action.json +21 -0
- package/entities/Issuesecuritylevel/mockdatafiles/getIssueSecurityLevelMembers-default.json +46 -0
- package/entities/Issuesecuritylevel/schema.json +2 -1
- package/entities/Issuetypes/action.json +21 -0
- package/entities/Issuetypes/mockdatafiles/getIssueTypesForProject-default.json +39 -0
- package/entities/Issuetypes/schema.json +2 -1
- package/entities/Issuewatchers/action.json +20 -0
- package/entities/Issuewatchers/mockdatafiles/getIsWatchingIssueBulk-default.json +7 -0
- package/entities/Issuewatchers/schema.json +2 -1
- package/entities/JQL/action.json +40 -0
- package/entities/JQL/mockdatafiles/getAutoCompletePost-default.json +89 -0
- package/entities/JQL/mockdatafiles/parseJqlQueries-default.json +119 -0
- package/entities/JQL/schema.json +3 -1
- package/entities/Jiraexpressions/action.json +20 -0
- package/entities/Jiraexpressions/mockdatafiles/analyseExpression-default.json +47 -0
- package/entities/Jiraexpressions/schema.json +2 -1
- package/entities/Labels/action.json +25 -0
- package/entities/Labels/mockdatafiles/getAllLabels-default.json +10 -0
- package/entities/Labels/schema.json +19 -0
- package/entities/ProjectEmail/action.json +45 -0
- package/entities/ProjectEmail/mockdatafiles/getProjectEmail-default.json +6 -0
- package/entities/ProjectEmail/schema.json +20 -0
- package/entities/ProjectFeatures/action.json +45 -0
- package/entities/ProjectFeatures/mockdatafiles/getFeaturesForProject-default.json +24 -0
- package/entities/ProjectFeatures/mockdatafiles/toggleFeatureForProject-default.json +24 -0
- package/entities/ProjectFeatures/schema.json +20 -0
- package/entities/Projects/action.json +102 -0
- package/entities/Projects/mockdatafiles/getHierarchy-default.json +50 -0
- package/entities/Projects/mockdatafiles/getRecent-default.json +50 -0
- package/entities/Projects/mockdatafiles/restore-default.json +139 -0
- package/entities/Projects/schema.json +6 -1
- package/entities/Projecttypes/action.json +21 -0
- package/entities/Projecttypes/mockdatafiles/getAllAccessibleProjectTypes-default.json +16 -0
- package/entities/Projecttypes/schema.json +2 -1
- package/entities/ScreenSchemes/action.json +85 -0
- package/entities/ScreenSchemes/mockdatafiles/createScreenScheme-default.json +3 -0
- package/entities/ScreenSchemes/mockdatafiles/getScreenSchemes-default.json +28 -0
- package/entities/ScreenSchemes/schema.json +22 -0
- package/entities/Screens/action.json +81 -0
- package/entities/Screens/mockdatafiles/createScreen-default.json +5 -0
- package/entities/Screens/mockdatafiles/getScreensForField-default.json +17 -0
- package/entities/Screens/mockdatafiles/updateScreen-default.json +5 -0
- package/entities/Screens/schema.json +5 -1
- package/entities/Users/action.json +84 -0
- package/entities/Users/mockdatafiles/getAllUsers-default.json +32 -0
- package/entities/Users/mockdatafiles/getAllUsersDefault-default.json +32 -0
- package/entities/Users/mockdatafiles/getUserEmail-default.json +1 -0
- package/entities/Users/schema.json +5 -1
- package/entities/Webhooks/action.json +106 -0
- package/entities/Webhooks/mockdatafiles/getDynamicWebhooksForApp-default.json +40 -0
- package/entities/Webhooks/mockdatafiles/getFailedWebhooks-default.json +17 -0
- package/entities/Webhooks/mockdatafiles/refreshWebhooks-default.json +3 -0
- package/entities/Webhooks/mockdatafiles/registerDynamicWebhooks-default.json +15 -0
- package/entities/Webhooks/schema.json +23 -0
- package/entities/WorkflowSchemeProjectAssociations/action.json +45 -0
- package/entities/WorkflowSchemeProjectAssociations/mockdatafiles/getWorkflowSchemeProjectAssociations-default.json +21 -0
- package/entities/WorkflowSchemeProjectAssociations/schema.json +20 -0
- package/entities/WorkflowTransitionRules/action.json +65 -0
- package/entities/WorkflowTransitionRules/mockdatafiles/deleteWorkflowTransitionRuleConfigurations-default.json +34 -0
- package/entities/WorkflowTransitionRules/mockdatafiles/getWorkflowTransitionRuleConfigurations-default.json +56 -0
- package/entities/WorkflowTransitionRules/mockdatafiles/updateWorkflowTransitionRuleConfigurations-default.json +34 -0
- package/entities/WorkflowTransitionRules/schema.json +21 -0
- package/entities/Workflows/action.json +61 -0
- package/entities/Workflows/mockdatafiles/createWorkflow-default.json +4 -0
- package/entities/Workflows/mockdatafiles/getWorkflowsPaginated-default.json +140 -0
- package/entities/Workflows/schema.json +4 -1
- package/entities/Workflowschemedrafts/action.json +20 -0
- package/entities/Workflowschemedrafts/schema.json +2 -1
- package/entities/Workflowschemes/action.json +21 -0
- package/entities/Workflowschemes/mockdatafiles/getAllWorkflowSchemes-default.json +30 -0
- package/entities/Workflowschemes/schema.json +2 -1
- package/error.json +12 -0
- package/package.json +42 -18
- package/pronghorn.json +27769 -74
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +472 -4
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1615159462702.json +95 -0
- package/report/updateReport1659707107792.json +120 -0
- package/sampleProperties.json +103 -6
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +3633 -101
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +4766 -109
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +5 -0
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +184 -0
- package/utils/tbUtils.js +469 -0
- package/utils/testRunner.js +16 -16
- package/utils/troubleshootingAdapter.js +190 -0
- package/versions.json +142 -0
- package/img/adapter.png +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* @copyright Itential, LLC 2020 */
|
|
2
|
+
/* eslint global-require: warn */
|
|
3
|
+
/* eslint no-console: warn */
|
|
4
|
+
/* eslint import/no-unresolved: warn */
|
|
5
|
+
/* eslint import/no-dynamic-require: warn */
|
|
6
|
+
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const rls = require('readline-sync');
|
|
9
|
+
const fs = require('fs-extra');
|
|
10
|
+
|
|
11
|
+
const utils = require(path.join(__dirname, 'tbUtils'));
|
|
12
|
+
const basicGet = require(path.join(__dirname, 'basicGet'));
|
|
13
|
+
const { name } = require(path.join(__dirname, '..', 'package.json'));
|
|
14
|
+
const sampleProperties = require(path.join(__dirname, '..', 'sampleProperties.json'));
|
|
15
|
+
|
|
16
|
+
// send interactive questions and collection answers
|
|
17
|
+
// return updated connection object
|
|
18
|
+
const collectAnswersSync = (questions, props) => {
|
|
19
|
+
const answers = [];
|
|
20
|
+
questions.forEach((q) => {
|
|
21
|
+
const answer = rls.question(q);
|
|
22
|
+
answers.push(answer);
|
|
23
|
+
});
|
|
24
|
+
return utils.getNewProps(answers, props);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// change object into array of questions
|
|
28
|
+
const confirm = (props) => {
|
|
29
|
+
const questions = Object.keys(props).map((key) => `${key}: (${props[key]}) `);
|
|
30
|
+
return collectAnswersSync(questions, props);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
// allow user to change auth_method
|
|
34
|
+
const confirmAuthOptions = (authentication) => {
|
|
35
|
+
const authOptions = ['basic user_password', 'request_token', 'static_token', 'no_authentication'];
|
|
36
|
+
const displayAuthOptions = utils.getDisplayAuthOptions(authentication.auth_method, authOptions);
|
|
37
|
+
const index = rls.keyInSelect(displayAuthOptions, 'Which authentication?');
|
|
38
|
+
if (index === -1) {
|
|
39
|
+
return authentication.auth_method;
|
|
40
|
+
}
|
|
41
|
+
console.log(`${authOptions[index]} is selected.`);
|
|
42
|
+
return authOptions[index];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
// helper function to update auth properties
|
|
46
|
+
const confirmAndUpdate = (auth, config) => {
|
|
47
|
+
const newAuth = confirm(auth);
|
|
48
|
+
return utils.updateAuth(newAuth, auth, config);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
// extract basic auth properties
|
|
52
|
+
const updateBasicAuth = (config, authentication) => {
|
|
53
|
+
const auth = {
|
|
54
|
+
username: authentication.username,
|
|
55
|
+
password: authentication.password
|
|
56
|
+
};
|
|
57
|
+
return confirmAndUpdate(auth, config);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// extract static auth properties
|
|
61
|
+
const updateStaticAuth = (config, authentication) => {
|
|
62
|
+
const auth = {
|
|
63
|
+
token: authentication.token,
|
|
64
|
+
auth_field: authentication.auth_field,
|
|
65
|
+
auth_field_format: authentication.auth_field_format
|
|
66
|
+
};
|
|
67
|
+
return confirmAndUpdate(auth, config);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// troubleshooting connection and healthcheck endpoint setting of adapter
|
|
71
|
+
const VerifyHealthCheckEndpoint = (serviceItem, props, scriptFlag) => {
|
|
72
|
+
// Updates connectivity params and runs connectivity
|
|
73
|
+
let connConfig;
|
|
74
|
+
const result = {};
|
|
75
|
+
if (scriptFlag) {
|
|
76
|
+
const connection = utils.getConnection(serviceItem.properties);
|
|
77
|
+
const newConnection = confirm(connection);
|
|
78
|
+
utils.runConnectivity(newConnection.host, scriptFlag);
|
|
79
|
+
connConfig = utils.updateNewConnection(serviceItem, newConnection);
|
|
80
|
+
} else {
|
|
81
|
+
let { properties: { properties: { host } } } = serviceItem;
|
|
82
|
+
if (props.connProps) {
|
|
83
|
+
connConfig = utils.updateNewConnection(serviceItem, props.connProps);
|
|
84
|
+
host = connConfig.properties.properties.host;
|
|
85
|
+
} else {
|
|
86
|
+
connConfig = serviceItem;
|
|
87
|
+
}
|
|
88
|
+
result.connectivity = utils.runConnectivity(host, scriptFlag);
|
|
89
|
+
}
|
|
90
|
+
// Updates the healthcheck endpoing
|
|
91
|
+
const healthcheck = require('../entities/.system/action.json');
|
|
92
|
+
const healthCheckEndpoint = utils.getHealthCheckEndpoint(healthcheck);
|
|
93
|
+
let newHealthCheckEndpoint = healthCheckEndpoint;
|
|
94
|
+
if (scriptFlag) {
|
|
95
|
+
newHealthCheckEndpoint = confirm(healthCheckEndpoint);
|
|
96
|
+
utils.getHealthCheckEndpointURL(newHealthCheckEndpoint, connConfig);
|
|
97
|
+
} else if (props.healthCheckEndpoint) {
|
|
98
|
+
newHealthCheckEndpoint = props.healthCheckEndpoint;
|
|
99
|
+
}
|
|
100
|
+
// Updates the authorization params
|
|
101
|
+
const { authentication } = connConfig.properties.properties;
|
|
102
|
+
let updatedAdapter = connConfig;
|
|
103
|
+
if (scriptFlag) {
|
|
104
|
+
authentication.auth_method = confirmAuthOptions(authentication);
|
|
105
|
+
if (authentication.auth_method === 'basic user_password') {
|
|
106
|
+
updatedAdapter = updateBasicAuth(connConfig, authentication);
|
|
107
|
+
} else if (authentication.auth_method === 'static_token') {
|
|
108
|
+
updatedAdapter = updateStaticAuth(connConfig, authentication);
|
|
109
|
+
} else if (authentication.auth_method === 'request_token') {
|
|
110
|
+
console.log('current troubleshooting script does not support updating request_token authentication');
|
|
111
|
+
}
|
|
112
|
+
} else if (props.auth) {
|
|
113
|
+
updatedAdapter = utils.updateAuth(props.auth, authentication, connConfig);
|
|
114
|
+
}
|
|
115
|
+
// Writes the new healthcheck endpoint into action.json
|
|
116
|
+
utils.updateHealthCheckEndpoint(newHealthCheckEndpoint, healthCheckEndpoint, healthcheck);
|
|
117
|
+
return { result, updatedAdapter };
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const offline = async () => {
|
|
121
|
+
console.log('Start offline troubleshooting');
|
|
122
|
+
const { updatedAdapter } = VerifyHealthCheckEndpoint({ properties: sampleProperties }, {}, true);
|
|
123
|
+
const a = basicGet.getAdapterInstance(updatedAdapter);
|
|
124
|
+
const res = await utils.healthCheck(a);
|
|
125
|
+
if (!res) {
|
|
126
|
+
console.log('run `npm run troubleshoot` again to update settings');
|
|
127
|
+
process.exit(0);
|
|
128
|
+
}
|
|
129
|
+
console.log('Save changes to sampleProperties.json');
|
|
130
|
+
await fs.writeFile('sampleProperties.json', JSON.stringify(updatedAdapter.properties, null, 2));
|
|
131
|
+
if (rls.keyInYN('Test with more GET request')) {
|
|
132
|
+
await utils.runBasicGet(true);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
const troubleshoot = async (props, scriptFlag, persistFlag, adapter) => {
|
|
137
|
+
// get database connection and existing adapter config
|
|
138
|
+
const { database, serviceItem } = await utils.getAdapterConfig();
|
|
139
|
+
// where troubleshoot should start
|
|
140
|
+
if (serviceItem) {
|
|
141
|
+
if (!scriptFlag || rls.keyInYN(`Start verifying the connection and authentication properties for ${name}?`)) {
|
|
142
|
+
const { result, updatedAdapter } = VerifyHealthCheckEndpoint(serviceItem, props, scriptFlag);
|
|
143
|
+
let a;
|
|
144
|
+
if (scriptFlag) {
|
|
145
|
+
a = basicGet.getAdapterInstance(updatedAdapter);
|
|
146
|
+
} else {
|
|
147
|
+
a = adapter;
|
|
148
|
+
}
|
|
149
|
+
const healthRes = await utils.healthCheck(a);
|
|
150
|
+
result.healthCheck = healthRes;
|
|
151
|
+
if (scriptFlag && !healthRes) {
|
|
152
|
+
console.log('run `npm run troubleshoot` again to update settings');
|
|
153
|
+
process.exit(0);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (persistFlag && healthRes) {
|
|
157
|
+
const update = { $set: { properties: updatedAdapter.properties } };
|
|
158
|
+
await database.collection(utils.SERVICE_CONFIGS_COLLECTION).updateOne(
|
|
159
|
+
{ model: name }, update
|
|
160
|
+
);
|
|
161
|
+
if (scriptFlag) {
|
|
162
|
+
console.log(`${name} updated.`);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
if (scriptFlag) {
|
|
166
|
+
if (rls.keyInYN('Test with more GET request')) {
|
|
167
|
+
await utils.runBasicGet(scriptFlag);
|
|
168
|
+
process.exit(0);
|
|
169
|
+
} else {
|
|
170
|
+
console.log('Exiting');
|
|
171
|
+
process.exit(0);
|
|
172
|
+
}
|
|
173
|
+
} else {
|
|
174
|
+
result.basicGet = await utils.runBasicGet(scriptFlag);
|
|
175
|
+
return result;
|
|
176
|
+
}
|
|
177
|
+
} else {
|
|
178
|
+
console.log('You can update healthCheckEndpoint in ./entities/.system/action.json');
|
|
179
|
+
console.log('You can update authentication credientials under Settings/Services');
|
|
180
|
+
console.log('Exiting');
|
|
181
|
+
process.exit(0);
|
|
182
|
+
}
|
|
183
|
+
} else {
|
|
184
|
+
console.log(`${name} not installed`);
|
|
185
|
+
console.log('run `npm run install:adapter` to install current adapter to IAP first. Exiting...');
|
|
186
|
+
}
|
|
187
|
+
return null;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
module.exports = { troubleshoot, offline };
|
package/versions.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"constructor": -1,
|
|
3
|
+
"healthCheck": 0,
|
|
4
|
+
"getWorkflowFunctions": 0,
|
|
5
|
+
"updateAdapterConfiguration": 0,
|
|
6
|
+
"findPath": 0,
|
|
7
|
+
"suspend": 0,
|
|
8
|
+
"unsuspend": 0,
|
|
9
|
+
"getQueue": 0,
|
|
10
|
+
"troubleshoot": 0,
|
|
11
|
+
"runHealthcheck": 0,
|
|
12
|
+
"runConnectivity": 0,
|
|
13
|
+
"runBasicGet": 0,
|
|
14
|
+
"hasEntity": -1,
|
|
15
|
+
"verifyCapability": -1,
|
|
16
|
+
"updateEntityCache": -1,
|
|
17
|
+
"genericAdapterRequest": 0,
|
|
18
|
+
"updateMultipleCustomFieldValues": 0,
|
|
19
|
+
"updateCustomFieldValue": 0,
|
|
20
|
+
"getCustomFieldConfiguration": 0,
|
|
21
|
+
"updateCustomFieldConfiguration": 0,
|
|
22
|
+
"getAttachmentContent": 0,
|
|
23
|
+
"getAttachmentThumbnail": 0,
|
|
24
|
+
"createDashboard": 0,
|
|
25
|
+
"updateDashboard": 0,
|
|
26
|
+
"deleteDashboard": 0,
|
|
27
|
+
"copyDashboard": 0,
|
|
28
|
+
"getEvents": 0,
|
|
29
|
+
"getChangeLogsByIds": 0,
|
|
30
|
+
"analyseExpression": 0,
|
|
31
|
+
"getFieldsPaginated": 0,
|
|
32
|
+
"updateCustomField": 0,
|
|
33
|
+
"getContextsForFieldDeprecated": 0,
|
|
34
|
+
"deleteCustomField": 0,
|
|
35
|
+
"restoreCustomField": 0,
|
|
36
|
+
"trashCustomField": 0,
|
|
37
|
+
"getContextsForField": 0,
|
|
38
|
+
"createCustomFieldContext": 0,
|
|
39
|
+
"getDefaultValues": 0,
|
|
40
|
+
"setDefaultValues": 0,
|
|
41
|
+
"getIssueTypeMappingsForContexts": 0,
|
|
42
|
+
"getCustomFieldContextsForProjectsAndIssueTypes": 0,
|
|
43
|
+
"getProjectContextMapping": 0,
|
|
44
|
+
"updateCustomFieldContext": 0,
|
|
45
|
+
"deleteCustomFieldContext": 0,
|
|
46
|
+
"addIssueTypesToContext": 0,
|
|
47
|
+
"removeIssueTypesFromContext": 0,
|
|
48
|
+
"assignProjectsToCustomFieldContext": 0,
|
|
49
|
+
"removeCustomFieldContextFromProjects": 0,
|
|
50
|
+
"getOptionsForContext": 0,
|
|
51
|
+
"updateCustomFieldOption": 0,
|
|
52
|
+
"createCustomFieldOption": 0,
|
|
53
|
+
"reorderCustomFieldOptions": 0,
|
|
54
|
+
"deleteCustomFieldOption": 0,
|
|
55
|
+
"getScreensForField": 0,
|
|
56
|
+
"createScreen": 0,
|
|
57
|
+
"updateScreen": 0,
|
|
58
|
+
"deleteScreen": 0,
|
|
59
|
+
"getAllFieldConfigurations": 0,
|
|
60
|
+
"createFieldConfiguration": 0,
|
|
61
|
+
"updateFieldConfiguration": 0,
|
|
62
|
+
"deleteFieldConfiguration": 0,
|
|
63
|
+
"getFieldConfigurationItems": 0,
|
|
64
|
+
"updateFieldConfigurationItems": 0,
|
|
65
|
+
"getAllFieldConfigurationSchemes": 0,
|
|
66
|
+
"createFieldConfigurationScheme": 0,
|
|
67
|
+
"getFieldConfigurationSchemeMappings": 0,
|
|
68
|
+
"getFieldConfigurationSchemeProjectMapping": 0,
|
|
69
|
+
"assignFieldConfigurationSchemeToProject": 0,
|
|
70
|
+
"updateFieldConfigurationScheme": 0,
|
|
71
|
+
"deleteFieldConfigurationScheme": 0,
|
|
72
|
+
"setFieldConfigurationSchemeMapping": 0,
|
|
73
|
+
"removeIssueTypesFromGlobalFieldConfigurationScheme": 0,
|
|
74
|
+
"bulkGetGroups": 0,
|
|
75
|
+
"getLicense": 0,
|
|
76
|
+
"bulkSetIssuesPropertiesList": 0,
|
|
77
|
+
"bulkSetIssuePropertiesByIssue": 0,
|
|
78
|
+
"getIsWatchingIssueBulk": 0,
|
|
79
|
+
"getIssueSecurityLevelMembers": 0,
|
|
80
|
+
"getIssueTypesForProject": 0,
|
|
81
|
+
"getAllIssueTypeSchemes": 0,
|
|
82
|
+
"createIssueTypeScheme": 0,
|
|
83
|
+
"getIssueTypeSchemesMapping": 0,
|
|
84
|
+
"getIssueTypeSchemeForProjects": 0,
|
|
85
|
+
"assignIssueTypeSchemeToProject": 0,
|
|
86
|
+
"updateIssueTypeScheme": 0,
|
|
87
|
+
"deleteIssueTypeScheme": 0,
|
|
88
|
+
"addIssueTypesToIssueTypeScheme": 0,
|
|
89
|
+
"reorderIssueTypesInIssueTypeScheme": 0,
|
|
90
|
+
"removeIssueTypeFromIssueTypeScheme": 0,
|
|
91
|
+
"getIssueTypeScreenSchemes": 0,
|
|
92
|
+
"createIssueTypeScreenScheme": 0,
|
|
93
|
+
"getIssueTypeScreenSchemeMappings": 0,
|
|
94
|
+
"getIssueTypeScreenSchemeProjectAssociations": 0,
|
|
95
|
+
"assignIssueTypeScreenSchemeToProject": 0,
|
|
96
|
+
"updateIssueTypeScreenScheme": 0,
|
|
97
|
+
"deleteIssueTypeScreenScheme": 0,
|
|
98
|
+
"appendMappingsForIssueTypeScreenScheme": 0,
|
|
99
|
+
"updateDefaultScreenScheme": 0,
|
|
100
|
+
"removeMappingsFromIssueTypeScreenScheme": 0,
|
|
101
|
+
"getProjectsForIssueTypeScreenScheme": 0,
|
|
102
|
+
"getAutoCompletePost": 0,
|
|
103
|
+
"parseJqlQueries": 0,
|
|
104
|
+
"matchIssues": 0,
|
|
105
|
+
"getAllLabels": 0,
|
|
106
|
+
"getRecent": 0,
|
|
107
|
+
"archiveProject": 0,
|
|
108
|
+
"deleteProjectAsynchronously": 0,
|
|
109
|
+
"restore": 0,
|
|
110
|
+
"getHierarchy": 0,
|
|
111
|
+
"getAllAccessibleProjectTypes": 0,
|
|
112
|
+
"getFeaturesForProject": 0,
|
|
113
|
+
"toggleFeatureForProject": 0,
|
|
114
|
+
"getProjectEmail": 0,
|
|
115
|
+
"updateProjectEmail": 0,
|
|
116
|
+
"getScreenSchemes": 0,
|
|
117
|
+
"createScreenScheme": 0,
|
|
118
|
+
"updateScreenScheme": 0,
|
|
119
|
+
"deleteScreenScheme": 0,
|
|
120
|
+
"getAvatarImageByType": 0,
|
|
121
|
+
"getAvatarImageByID": 0,
|
|
122
|
+
"getAvatarImageByOwner": 0,
|
|
123
|
+
"getUserEmail": 0,
|
|
124
|
+
"getUserEmailBulk": 0,
|
|
125
|
+
"getAllUsersDefault": 0,
|
|
126
|
+
"getAllUsers": 0,
|
|
127
|
+
"getDynamicWebhooksForApp": 0,
|
|
128
|
+
"registerDynamicWebhooks": 0,
|
|
129
|
+
"deleteWebhookById": 0,
|
|
130
|
+
"getFailedWebhooks": 0,
|
|
131
|
+
"refreshWebhooks": 0,
|
|
132
|
+
"createWorkflow": 0,
|
|
133
|
+
"getWorkflowsPaginated": 0,
|
|
134
|
+
"deleteInactiveWorkflow": 0,
|
|
135
|
+
"getWorkflowTransitionRuleConfigurations": 0,
|
|
136
|
+
"updateWorkflowTransitionRuleConfigurations": 0,
|
|
137
|
+
"deleteWorkflowTransitionRuleConfigurations": 0,
|
|
138
|
+
"getAllWorkflowSchemes": 0,
|
|
139
|
+
"getWorkflowSchemeProjectAssociations": 0,
|
|
140
|
+
"assignSchemeToProject": 0,
|
|
141
|
+
"publishDraftWorkflowScheme": 0
|
|
142
|
+
}
|
package/img/adapter.png
DELETED
|
Binary file
|