@jetbrains/n8n-nodes-youtrack 0.1.1
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/LICENSE +201 -0
- package/README.md +163 -0
- package/dist/common/youtrack-logo.svg +1 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.d.ts +10 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.js +51 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.js.map +1 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.d.ts +10 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.js +56 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.js.map +1 -0
- package/dist/images/action.png +0 -0
- package/dist/images/trigger.png +0 -0
- package/dist/nodes/YouTrack/YouTrack.node.json +20 -0
- package/dist/nodes/YouTrack/YouTrackTrigger.node.json +20 -0
- package/dist/nodes/YouTrack/Youtrack.node.d.ts +4 -0
- package/dist/nodes/YouTrack/Youtrack.node.js +40 -0
- package/dist/nodes/YouTrack/Youtrack.node.js.map +1 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.d.ts +12 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.js +229 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/execute.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/execute.js +106 -0
- package/dist/nodes/YouTrack/resources/command/execute.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/index.js +36 -0
- package/dist/nodes/YouTrack/resources/command/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/shared.js +51 -0
- package/dist/nodes/YouTrack/resources/command/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/utils.d.ts +4 -0
- package/dist/nodes/YouTrack/resources/command/utils.js +22 -0
- package/dist/nodes/YouTrack/resources/command/utils.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/add.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/add.js +56 -0
- package/dist/nodes/YouTrack/resources/comment/add.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/index.js +53 -0
- package/dist/nodes/YouTrack/resources/comment/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/list.js +84 -0
- package/dist/nodes/YouTrack/resources/comment/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/comment/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/index.d.ts +3 -0
- package/dist/nodes/YouTrack/resources/index.js +86 -0
- package/dist/nodes/YouTrack/resources/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/create.js +86 -0
- package/dist/nodes/YouTrack/resources/issue/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/get.js +34 -0
- package/dist/nodes/YouTrack/resources/issue/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/index.js +100 -0
- package/dist/nodes/YouTrack/resources/issue/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/list.js +98 -0
- package/dist/nodes/YouTrack/resources/issue/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/issue/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/update.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/update.js +63 -0
- package/dist/nodes/YouTrack/resources/issue/update.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.js +109 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.js +34 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.js +100 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.js +84 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.js +93 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/get.js +34 -0
- package/dist/nodes/YouTrack/resources/project/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.js +66 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.js +80 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/index.js +78 -0
- package/dist/nodes/YouTrack/resources/project/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/list.js +98 -0
- package/dist/nodes/YouTrack/resources/project/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/project/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.js +76 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.js +48 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.js +84 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.js +55 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.js +46 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/index.js +94 -0
- package/dist/nodes/YouTrack/resources/tag/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/list.js +98 -0
- package/dist/nodes/YouTrack/resources/tag/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.js +21 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/tag/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/types.d.ts +26 -0
- package/dist/nodes/YouTrack/resources/types.js +3 -0
- package/dist/nodes/YouTrack/resources/types.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/get.js +34 -0
- package/dist/nodes/YouTrack/resources/user/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.js +66 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getTags.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getTags.js +66 -0
- package/dist/nodes/YouTrack/resources/user/getTags.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/index.js +134 -0
- package/dist/nodes/YouTrack/resources/user/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/list.js +84 -0
- package/dist/nodes/YouTrack/resources/user/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/user/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.js +34 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.js +34 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.js +64 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.js +84 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/add.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/add.js +95 -0
- package/dist/nodes/YouTrack/resources/workitem/add.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/index.js +36 -0
- package/dist/nodes/YouTrack/resources/workitem/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.js.map +1 -0
- package/dist/package.json +55 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commentListDescription = void 0;
|
|
4
|
+
exports.commentListDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Return All',
|
|
7
|
+
name: 'returnAll',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
displayOptions: {
|
|
10
|
+
show: {
|
|
11
|
+
resource: ['comment'],
|
|
12
|
+
operation: ['list'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
default: false,
|
|
16
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Additional Options',
|
|
20
|
+
name: 'additionalOptions',
|
|
21
|
+
type: 'collection',
|
|
22
|
+
placeholder: 'Add Option',
|
|
23
|
+
default: {},
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['comment'],
|
|
27
|
+
operation: ['list'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Fields',
|
|
33
|
+
name: 'fields',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: 'id,text,created,updated,author(login,name)',
|
|
36
|
+
description: 'Comma-separated list of fields to return',
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'query',
|
|
40
|
+
property: 'fields',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Limit',
|
|
46
|
+
name: 'limit',
|
|
47
|
+
type: 'number',
|
|
48
|
+
displayOptions: {
|
|
49
|
+
show: {
|
|
50
|
+
'/returnAll': [false],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 1,
|
|
55
|
+
},
|
|
56
|
+
default: 50,
|
|
57
|
+
description: 'Max number of results to return',
|
|
58
|
+
routing: {
|
|
59
|
+
send: {
|
|
60
|
+
type: 'query',
|
|
61
|
+
property: '$top',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Skip',
|
|
67
|
+
name: 'skip',
|
|
68
|
+
type: 'number',
|
|
69
|
+
typeOptions: {
|
|
70
|
+
minValue: 0,
|
|
71
|
+
},
|
|
72
|
+
default: 0,
|
|
73
|
+
description: 'Number of comments to skip before returning results',
|
|
74
|
+
routing: {
|
|
75
|
+
send: {
|
|
76
|
+
type: 'query',
|
|
77
|
+
property: '$skip',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
];
|
|
84
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/comment/list.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IAExD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IAED;QACC,WA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
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commentSharedDescription = void 0;
|
|
4
|
+
exports.commentSharedDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Issue ID',
|
|
7
|
+
name: 'issueId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['comment'],
|
|
13
|
+
operation: ['add', 'list'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
default: '',
|
|
17
|
+
placeholder: 'e.g. PROJECT-123',
|
|
18
|
+
description: 'The ID of the issue (e.g., PROJECT-123)',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/comment/shared.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAsB;IAE1D;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;aAC1B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EAAE,yCAAyC;KACtD;CACD,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.nodeProperties = exports.resourceSelection = void 0;
|
|
4
|
+
const issue_1 = require("./issue");
|
|
5
|
+
const issueDraft_1 = require("./issueDraft");
|
|
6
|
+
const project_1 = require("./project");
|
|
7
|
+
const comment_1 = require("./comment");
|
|
8
|
+
const workitem_1 = require("./workitem");
|
|
9
|
+
const tag_1 = require("./tag");
|
|
10
|
+
const command_1 = require("./command");
|
|
11
|
+
const user_1 = require("./user");
|
|
12
|
+
const userGroup_1 = require("./userGroup");
|
|
13
|
+
const savedQueries_1 = require("./savedQueries");
|
|
14
|
+
exports.resourceSelection = {
|
|
15
|
+
displayName: 'Resource',
|
|
16
|
+
name: 'resource',
|
|
17
|
+
type: 'options',
|
|
18
|
+
noDataExpression: true,
|
|
19
|
+
options: [
|
|
20
|
+
{
|
|
21
|
+
name: 'Command',
|
|
22
|
+
value: 'command',
|
|
23
|
+
description: 'Execute YouTrack commands on issues (tags, assignees, comments, work items, votes, etc.)',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Comment',
|
|
27
|
+
value: 'comment',
|
|
28
|
+
description: 'Add and manage comments on issues',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Issue',
|
|
32
|
+
value: 'issue',
|
|
33
|
+
description: 'Create and manage issues in YouTrack',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'Issue Draft',
|
|
37
|
+
value: 'issueDraft',
|
|
38
|
+
description: 'Create and manage issue drafts',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Project',
|
|
42
|
+
value: 'project',
|
|
43
|
+
description: 'Access project information',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Saved Query',
|
|
47
|
+
value: 'savedQueries',
|
|
48
|
+
description: 'Get many and create saved searches',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Tag',
|
|
52
|
+
value: 'tag',
|
|
53
|
+
description: 'Add and manage tags on issues',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'User',
|
|
57
|
+
value: 'user',
|
|
58
|
+
description: 'Find and manage users',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'User Group',
|
|
62
|
+
value: 'userGroup',
|
|
63
|
+
description: 'Find user groups and get group members',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Work Item',
|
|
67
|
+
value: 'workItem',
|
|
68
|
+
description: 'Track time spent on issues',
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
default: 'issue',
|
|
72
|
+
};
|
|
73
|
+
exports.nodeProperties = [
|
|
74
|
+
exports.resourceSelection,
|
|
75
|
+
...comment_1.commentDescription,
|
|
76
|
+
...command_1.commandDescription,
|
|
77
|
+
...issue_1.issueDescription,
|
|
78
|
+
...issueDraft_1.issueDraftDescription,
|
|
79
|
+
...project_1.projectDescription,
|
|
80
|
+
...tag_1.tagDescription,
|
|
81
|
+
...workitem_1.workItemDescription,
|
|
82
|
+
...user_1.userDescription,
|
|
83
|
+
...userGroup_1.userGroupDescription,
|
|
84
|
+
...savedQueries_1.savedQueriesDescription,
|
|
85
|
+
];
|
|
86
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/YouTrack/resources/index.ts"],"names":[],"mappings":";;;AACA,mCAA2C;AAC3C,6CAAqD;AACrD,uCAA+C;AAC/C,uCAA+C;AAC/C,yCAAiD;AACjD,+BAAuC;AACvC,uCAA+C;AAC/C,iCAAyC;AACzC,2CAAmD;AACnD,iDAAyD;AAG5C,QAAA,iBAAiB,GAAoB;IACjD,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR;YACC,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,0FAA0F;SACvG;QACD;YACC,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,mCAAmC;SAChD;QACD;YACC,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,sCAAsC;SACnD;QACD;YACC,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,gCAAgC;SAC7C;QACD;YACC,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,4BAA4B;SACzC;QACD;YACC,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,oCAAoC;SACjD;QACD;YACC,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,+BAA+B;SAC5C;QACD;YACC,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,MAAM;YACb,WAAW,EAAE,uBAAuB;SACpC;QACD;YACC,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,wCAAwC;SACrD;QACD;YACC,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,4BAA4B;SACzC;KACD;IACD,OAAO,EAAE,OAAO;CAChB,CAAC;AAGW,QAAA,cAAc,GAAsB;IAChD,yBAAiB;IACjB,GAAG,4BAAkB;IACrB,GAAG,4BAAkB;IACrB,GAAG,wBAAgB;IACnB,GAAG,kCAAqB;IACxB,GAAG,4BAAkB;IACrB,GAAG,oBAAc;IACjB,GAAG,8BAAmB;IACtB,GAAG,sBAAe;IAClB,GAAG,gCAAoB;IACvB,GAAG,sCAAuB;CAC1B,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueCreateDescription = void 0;
|
|
4
|
+
exports.issueCreateDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Project',
|
|
7
|
+
name: 'project',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['issue'],
|
|
13
|
+
operation: ['create'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
default: '',
|
|
17
|
+
placeholder: 'e.g. SP or 0-0',
|
|
18
|
+
description: 'Project short name (e.g., SP, BUG) or database ID (e.g., 0-0)',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Summary',
|
|
22
|
+
name: 'summary',
|
|
23
|
+
type: 'string',
|
|
24
|
+
required: true,
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['issue'],
|
|
28
|
+
operation: ['create'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
placeholder: 'e.g. Issue title',
|
|
33
|
+
description: 'Issue title/summary',
|
|
34
|
+
routing: {
|
|
35
|
+
send: {
|
|
36
|
+
type: 'body',
|
|
37
|
+
property: 'summary',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
displayName: 'Additional Options',
|
|
43
|
+
name: 'additionalOptions',
|
|
44
|
+
type: 'collection',
|
|
45
|
+
placeholder: 'Add Option',
|
|
46
|
+
default: {},
|
|
47
|
+
displayOptions: {
|
|
48
|
+
show: {
|
|
49
|
+
resource: ['issue'],
|
|
50
|
+
operation: ['create'],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
options: [
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Description',
|
|
56
|
+
name: 'description',
|
|
57
|
+
type: 'string',
|
|
58
|
+
typeOptions: {
|
|
59
|
+
rows: 4,
|
|
60
|
+
},
|
|
61
|
+
default: '',
|
|
62
|
+
description: 'Issue description',
|
|
63
|
+
routing: {
|
|
64
|
+
send: {
|
|
65
|
+
type: 'body',
|
|
66
|
+
property: 'description',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: 'Fields to Return',
|
|
72
|
+
name: 'fields',
|
|
73
|
+
type: 'string',
|
|
74
|
+
default: 'id,idReadable,summary',
|
|
75
|
+
description: 'Comma-separated list of fields to return in response. If not specified, only entityID is returned.',
|
|
76
|
+
routing: {
|
|
77
|
+
send: {
|
|
78
|
+
type: 'query',
|
|
79
|
+
property: 'fields',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/issue/create.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IAExD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gBAAgB;QAC7B,WAAW,EAAE,+DAA+D;KAC5E;IAGD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EAAE,qBAAqB;QAClC,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,SAAS;aACnB;SACD;KACD;IAGD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,IAAI,EAAE,CAAC;iBACP;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,mBAAmB;gBAChC,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,aAAa;qBACvB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,oGAAoG;gBACjH,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CAED,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueGetDescription = void 0;
|
|
4
|
+
exports.issueGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Fields',
|
|
7
|
+
name: 'additionalFields',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Fields',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['issue'],
|
|
14
|
+
operation: ['get'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'id,idReadable,summary,description,created,updated,resolved,reporter(login,name),customFields(name,value),tags(id,name)',
|
|
23
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/issue/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IAErD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wHAAwH;gBACjI,WAAW,EAAE,wFAAwF;gBACrG,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CAED,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueDescription = void 0;
|
|
4
|
+
const shared_1 = require("./shared");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const get_1 = require("./get");
|
|
7
|
+
const list_1 = require("./list");
|
|
8
|
+
const update_1 = require("./update");
|
|
9
|
+
exports.issueDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation',
|
|
12
|
+
name: 'operation',
|
|
13
|
+
type: 'options',
|
|
14
|
+
displayOptions: {
|
|
15
|
+
show: {
|
|
16
|
+
resource: ['issue'],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
options: [
|
|
20
|
+
{
|
|
21
|
+
name: 'Create',
|
|
22
|
+
value: 'create',
|
|
23
|
+
description: 'Create a new issue',
|
|
24
|
+
action: 'Create an issue',
|
|
25
|
+
routing: {
|
|
26
|
+
request: {
|
|
27
|
+
method: 'POST',
|
|
28
|
+
url: '=/admin/projects/{{$parameter.project}}/issues',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'Delete',
|
|
34
|
+
value: 'delete',
|
|
35
|
+
description: 'Delete an issue',
|
|
36
|
+
action: 'Delete an issue',
|
|
37
|
+
routing: {
|
|
38
|
+
request: {
|
|
39
|
+
method: 'DELETE',
|
|
40
|
+
url: '=/issues/{{$parameter.issueId}}',
|
|
41
|
+
},
|
|
42
|
+
output: {
|
|
43
|
+
postReceive: [
|
|
44
|
+
{
|
|
45
|
+
type: 'set',
|
|
46
|
+
properties: {
|
|
47
|
+
value: '={{ { "deleted": true } }}',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Get',
|
|
56
|
+
value: 'get',
|
|
57
|
+
description: 'Get an issue by ID',
|
|
58
|
+
action: 'Get an issue',
|
|
59
|
+
routing: {
|
|
60
|
+
request: {
|
|
61
|
+
method: 'GET',
|
|
62
|
+
url: '=/issues/{{$parameter.issueId}}',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Get Many',
|
|
68
|
+
value: 'list',
|
|
69
|
+
description: 'Get many issues',
|
|
70
|
+
action: 'Get many issues',
|
|
71
|
+
routing: {
|
|
72
|
+
request: {
|
|
73
|
+
method: 'GET',
|
|
74
|
+
url: '/issues',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'Update',
|
|
80
|
+
value: 'update',
|
|
81
|
+
description: 'Update an issue',
|
|
82
|
+
action: 'Update an issue',
|
|
83
|
+
routing: {
|
|
84
|
+
request: {
|
|
85
|
+
method: 'POST',
|
|
86
|
+
url: '=/issues/{{$parameter.issueId}}',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
default: 'create',
|
|
92
|
+
noDataExpression: true,
|
|
93
|
+
},
|
|
94
|
+
...shared_1.issueSharedDescription,
|
|
95
|
+
...create_1.issueCreateDescription,
|
|
96
|
+
...get_1.issueGetDescription,
|
|
97
|
+
...list_1.issueListDescription,
|
|
98
|
+
...update_1.issueUpdateDescription,
|
|
99
|
+
];
|
|
100
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/issue/index.ts"],"names":[],"mappings":";;;AAEA,qCAAkD;AAClD,qCAAkD;AAClD,+BAA4C;AAC5C,iCAA8C;AAC9C,qCAAkD;AAErC,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;aACnB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,iBAAiB;gBACzB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,gDAAgD;qBACrD;iBACD;aACD;YACD;gBACC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exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueListDescription = void 0;
|
|
4
|
+
exports.issueListDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Return All',
|
|
7
|
+
name: 'returnAll',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
displayOptions: {
|
|
10
|
+
show: {
|
|
11
|
+
resource: ['issue'],
|
|
12
|
+
operation: ['list'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
default: false,
|
|
16
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Additional Options',
|
|
20
|
+
name: 'additionalOptions',
|
|
21
|
+
type: 'collection',
|
|
22
|
+
placeholder: 'Add Option',
|
|
23
|
+
default: {},
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['issue'],
|
|
27
|
+
operation: ['list'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Query',
|
|
33
|
+
name: 'query',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: '',
|
|
36
|
+
placeholder: 'e.g. project: MyProject',
|
|
37
|
+
description: 'YouTrack search query to filter issues. If not provided, returns all issues.',
|
|
38
|
+
routing: {
|
|
39
|
+
send: {
|
|
40
|
+
type: 'query',
|
|
41
|
+
property: 'query',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Fields',
|
|
47
|
+
name: 'fields',
|
|
48
|
+
type: 'string',
|
|
49
|
+
default: 'id,idReadable,summary,description,created,updated,resolved',
|
|
50
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
51
|
+
routing: {
|
|
52
|
+
send: {
|
|
53
|
+
type: 'query',
|
|
54
|
+
property: 'fields',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Limit',
|
|
60
|
+
name: 'limit',
|
|
61
|
+
type: 'number',
|
|
62
|
+
displayOptions: {
|
|
63
|
+
show: {
|
|
64
|
+
'/returnAll': [false],
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
typeOptions: {
|
|
68
|
+
minValue: 1,
|
|
69
|
+
},
|
|
70
|
+
default: 50,
|
|
71
|
+
description: 'Max number of results to return',
|
|
72
|
+
routing: {
|
|
73
|
+
send: {
|
|
74
|
+
type: 'query',
|
|
75
|
+
property: '$top',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
displayName: 'Skip',
|
|
81
|
+
name: 'skip',
|
|
82
|
+
type: 'number',
|
|
83
|
+
typeOptions: {
|
|
84
|
+
minValue: 0,
|
|
85
|
+
},
|
|
86
|
+
default: 0,
|
|
87
|
+
description: 'Number of issues to skip before returning results',
|
|
88
|
+
routing: {
|
|
89
|
+
send: {
|
|
90
|
+
type: 'query',
|
|
91
|
+
property: '$skip',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/issue/list.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IAEtD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IAED;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE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AW,EAAE,mDAAmD;gBAChE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,OAAO;qBACjB;iBACD;aACD;SACD;KACD;CAED,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueSharedDescription = void 0;
|
|
4
|
+
exports.issueSharedDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Issue ID',
|
|
7
|
+
name: 'issueId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['issue'],
|
|
13
|
+
operation: ['get', 'update', 'delete'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
default: '',
|
|
17
|
+
placeholder: 'e.g. PROJECT-123',
|
|
18
|
+
description: 'The ID of the issue to retrieve, update, or delete (e.g., PROJECT-123)',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/issue/shared.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IAExD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC;aACtC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EAAE,wEAAwE;KACrF;CACD,CAAA"}
|