@activepieces/piece-jira-cloud 0.3.5 → 0.3.7
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/package.json +7 -18
- package/src/index.js +109 -71
- package/src/auth.d.ts +0 -8
- package/src/auth.d.ts.map +0 -1
- package/src/auth.js +0 -62
- package/src/auth.js.map +0 -1
- package/src/index.d.ts +0 -6
- package/src/index.d.ts.map +0 -1
- package/src/index.js.map +0 -1
- package/src/lib/actions/add-attachment-to-issue.d.ts +0 -26
- package/src/lib/actions/add-attachment-to-issue.d.ts.map +0 -1
- package/src/lib/actions/add-attachment-to-issue.js +0 -41
- package/src/lib/actions/add-attachment-to-issue.js.map +0 -1
- package/src/lib/actions/add-comment-to-issue.d.ts +0 -27
- package/src/lib/actions/add-comment-to-issue.d.ts.map +0 -1
- package/src/lib/actions/add-comment-to-issue.js +0 -65
- package/src/lib/actions/add-comment-to-issue.js.map +0 -1
- package/src/lib/actions/add-watcher-to-issue.d.ts +0 -25
- package/src/lib/actions/add-watcher-to-issue.d.ts.map +0 -1
- package/src/lib/actions/add-watcher-to-issue.js +0 -48
- package/src/lib/actions/add-watcher-to-issue.js.map +0 -1
- package/src/lib/actions/assign-issue.d.ts +0 -34
- package/src/lib/actions/assign-issue.d.ts.map +0 -1
- package/src/lib/actions/assign-issue.js +0 -39
- package/src/lib/actions/assign-issue.js.map +0 -1
- package/src/lib/actions/create-issue.d.ts +0 -35
- package/src/lib/actions/create-issue.d.ts.map +0 -1
- package/src/lib/actions/create-issue.js +0 -132
- package/src/lib/actions/create-issue.js.map +0 -1
- package/src/lib/actions/delete-issue-comment.d.ts +0 -30
- package/src/lib/actions/delete-issue-comment.d.ts.map +0 -1
- package/src/lib/actions/delete-issue-comment.js +0 -64
- package/src/lib/actions/delete-issue-comment.js.map +0 -1
- package/src/lib/actions/find-user.d.ts +0 -8
- package/src/lib/actions/find-user.d.ts.map +0 -1
- package/src/lib/actions/find-user.js +0 -37
- package/src/lib/actions/find-user.js.map +0 -1
- package/src/lib/actions/get-issue-attachment.d.ts +0 -8
- package/src/lib/actions/get-issue-attachment.d.ts.map +0 -1
- package/src/lib/actions/get-issue-attachment.js +0 -48
- package/src/lib/actions/get-issue-attachment.js.map +0 -1
- package/src/lib/actions/get-issue.d.ts +0 -28
- package/src/lib/actions/get-issue.d.ts.map +0 -1
- package/src/lib/actions/get-issue.js +0 -123
- package/src/lib/actions/get-issue.js.map +0 -1
- package/src/lib/actions/link-issues.d.ts +0 -34
- package/src/lib/actions/link-issues.d.ts.map +0 -1
- package/src/lib/actions/link-issues.js +0 -51
- package/src/lib/actions/link-issues.js.map +0 -1
- package/src/lib/actions/list-issue-comments.d.ts +0 -27
- package/src/lib/actions/list-issue-comments.d.ts.map +0 -1
- package/src/lib/actions/list-issue-comments.js +0 -60
- package/src/lib/actions/list-issue-comments.js.map +0 -1
- package/src/lib/actions/markdown-to-jira-format.d.ts +0 -4
- package/src/lib/actions/markdown-to-jira-format.d.ts.map +0 -1
- package/src/lib/actions/markdown-to-jira-format.js +0 -37
- package/src/lib/actions/markdown-to-jira-format.js.map +0 -1
- package/src/lib/actions/search-issues.d.ts +0 -13
- package/src/lib/actions/search-issues.d.ts.map +0 -1
- package/src/lib/actions/search-issues.js +0 -92
- package/src/lib/actions/search-issues.js.map +0 -1
- package/src/lib/actions/transition-issue.d.ts +0 -34
- package/src/lib/actions/transition-issue.d.ts.map +0 -1
- package/src/lib/actions/transition-issue.js +0 -45
- package/src/lib/actions/transition-issue.js.map +0 -1
- package/src/lib/actions/update-issue-comment.d.ts +0 -32
- package/src/lib/actions/update-issue-comment.d.ts.map +0 -1
- package/src/lib/actions/update-issue-comment.js +0 -98
- package/src/lib/actions/update-issue-comment.js.map +0 -1
- package/src/lib/actions/update-issue.d.ts +0 -35
- package/src/lib/actions/update-issue.d.ts.map +0 -1
- package/src/lib/actions/update-issue.js +0 -156
- package/src/lib/actions/update-issue.js.map +0 -1
- package/src/lib/common/index.d.ts +0 -86
- package/src/lib/common/index.d.ts.map +0 -1
- package/src/lib/common/index.js +0 -288
- package/src/lib/common/index.js.map +0 -1
- package/src/lib/common/props.d.ts +0 -96
- package/src/lib/common/props.d.ts.map +0 -1
- package/src/lib/common/props.js +0 -591
- package/src/lib/common/props.js.map +0 -1
- package/src/lib/common/types.d.ts +0 -28
- package/src/lib/common/types.d.ts.map +0 -1
- package/src/lib/common/types.js +0 -26
- package/src/lib/common/types.js.map +0 -1
- package/src/lib/triggers/issue-assigned.d.ts +0 -71
- package/src/lib/triggers/issue-assigned.d.ts.map +0 -1
- package/src/lib/triggers/issue-assigned.js +0 -305
- package/src/lib/triggers/issue-assigned.js.map +0 -1
- package/src/lib/triggers/new-attachment.d.ts +0 -31
- package/src/lib/triggers/new-attachment.d.ts.map +0 -1
- package/src/lib/triggers/new-attachment.js +0 -164
- package/src/lib/triggers/new-attachment.js.map +0 -1
- package/src/lib/triggers/new-comment.d.ts +0 -31
- package/src/lib/triggers/new-comment.d.ts.map +0 -1
- package/src/lib/triggers/new-comment.js +0 -98
- package/src/lib/triggers/new-comment.js.map +0 -1
- package/src/lib/triggers/new-issue.d.ts +0 -31
- package/src/lib/triggers/new-issue.d.ts.map +0 -1
- package/src/lib/triggers/new-issue.js +0 -67
- package/src/lib/triggers/new-issue.js.map +0 -1
- package/src/lib/triggers/updated-issue-status.d.ts +0 -31
- package/src/lib/triggers/updated-issue-status.d.ts.map +0 -1
- package/src/lib/triggers/updated-issue-status.js +0 -67
- package/src/lib/triggers/updated-issue-status.js.map +0 -1
- package/src/lib/triggers/updated-issue.d.ts +0 -31
- package/src/lib/triggers/updated-issue.d.ts.map +0 -1
- package/src/lib/triggers/updated-issue.js +0 -67
- package/src/lib/triggers/updated-issue.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-issue.ts"],"names":[],"mappings":";;;;AAAA,qEAA2F;AAC3F,qCAAqD;A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,qBAAqB,SAAS,eAAe,WAAW,EAAE;gBACvE,YAAY,EAAE,QAAQ;aACtB,CAAC,CAAC;YAEH,MAAM,kBAAkB,GAAG,SAAS,IAAI,EAAE,CAAC;YACzC,MAAM,eAAe,GAAG,IAAA,yBAAiB,EAAC,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;YAEnG,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAA8B;gBAC/D,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE;oBACL,MAAM,kBACL,SAAS,EAAE;4BACV,EAAE,EAAE,WAAW;yBACf,EACD,OAAO,EAAE;4BACR,EAAE,EAAE,SAAS;yBACb,IACE,eAAe,CAClB;iBACD;aACD,CAAC,CAAC;YAEH,MAAM,KAAK,GAAG,MAAM,IAAA,oBAAW,EAK5B;gBACF,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,WAAW,EAAE,UAAU,QAAQ,CAAC,EAAE,EAAE;aACpC,CAAC,CAAC;YAEH,MAAM,sBAAsB,GAAG,IAAA,6BAAqB,EAAC,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAEpF,uCACI,KAAK,KACR,MAAM,EAAE,sBAAsB,IAC7B;QACH,CAAC;KAAA;CACD,CAAC,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const deleteIssueCommentAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
12
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
14
|
-
}>>;
|
|
15
|
-
issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
16
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
19
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
20
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
21
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
22
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
23
|
-
}>>;
|
|
24
|
-
commentId: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
25
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
26
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
27
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
28
|
-
}>>;
|
|
29
|
-
}>;
|
|
30
|
-
//# sourceMappingURL=delete-issue-comment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-issue-comment.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/delete-issue-comment.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDnC,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deleteIssueCommentAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
|
-
const common_1 = require("../common");
|
|
9
|
-
const props_1 = require("../common/props");
|
|
10
|
-
exports.deleteIssueCommentAction = (0, pieces_framework_1.createAction)({
|
|
11
|
-
auth: auth_1.jiraCloudAuth,
|
|
12
|
-
name: 'delete_issue_comment',
|
|
13
|
-
displayName: 'Delete Issue Comment',
|
|
14
|
-
description: 'Deletes a comment on a specific issue.',
|
|
15
|
-
props: {
|
|
16
|
-
projectId: (0, props_1.getProjectIdDropdown)(),
|
|
17
|
-
issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
|
|
18
|
-
commentId: pieces_framework_1.Property.Dropdown({
|
|
19
|
-
auth: auth_1.jiraCloudAuth,
|
|
20
|
-
displayName: 'Comment ID',
|
|
21
|
-
refreshers: ['issueId'],
|
|
22
|
-
required: true,
|
|
23
|
-
options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth, issueId }) {
|
|
24
|
-
if (!auth || !issueId) {
|
|
25
|
-
return {
|
|
26
|
-
disabled: true,
|
|
27
|
-
placeholder: 'Please connect your account and select issue.',
|
|
28
|
-
options: [],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
const response = yield (0, common_1.sendJiraRequest)({
|
|
32
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
33
|
-
url: `issue/${issueId}/comment`,
|
|
34
|
-
auth: auth,
|
|
35
|
-
queryParams: {
|
|
36
|
-
orderBy: '-created',
|
|
37
|
-
expand: 'renderedBody',
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
return {
|
|
41
|
-
disabled: false,
|
|
42
|
-
options: response.body.comments.map((comment) => {
|
|
43
|
-
return {
|
|
44
|
-
label: comment.renderedBody,
|
|
45
|
-
value: comment.id,
|
|
46
|
-
};
|
|
47
|
-
}),
|
|
48
|
-
};
|
|
49
|
-
}),
|
|
50
|
-
}),
|
|
51
|
-
},
|
|
52
|
-
run(context) {
|
|
53
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
const { issueId, commentId } = context.propsValue;
|
|
55
|
-
const response = yield (0, common_1.sendJiraRequest)({
|
|
56
|
-
method: pieces_common_1.HttpMethod.DELETE,
|
|
57
|
-
url: `issue/${issueId}/comment/${commentId}`,
|
|
58
|
-
auth: context.auth,
|
|
59
|
-
});
|
|
60
|
-
return response.body;
|
|
61
|
-
});
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
//# sourceMappingURL=delete-issue-comment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-issue-comment.js","sourceRoot":"","sources":["../../../../src/lib/actions/delete-issue-comment.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,+DAAyD;AACzD,sCAA4C;AAC5C,2CAA2E;AAE9D,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACpD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,wCAAwC;IACrD,KAAK,EAAE;QACN,SAAS,EAAE,IAAA,4BAAoB,GAAE;QACjC,OAAO,EAAE,IAAA,0BA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;gBAC5C,IAAI,EAAE,OAAO,CAAC,IAAI;aAClB,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;KAAA;CACD,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const findUserAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
keyword: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
}>;
|
|
8
|
-
//# sourceMappingURL=find-user.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"find-user.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/find-user.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;;;EA0BzB,CAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.findUserAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const common_1 = require("../common");
|
|
8
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
9
|
-
exports.findUserAction = (0, pieces_framework_1.createAction)({
|
|
10
|
-
auth: auth_1.jiraCloudAuth,
|
|
11
|
-
name: 'find-user',
|
|
12
|
-
displayName: 'Find User',
|
|
13
|
-
description: 'Finds an existing user.',
|
|
14
|
-
props: {
|
|
15
|
-
keyword: pieces_framework_1.Property.ShortText({
|
|
16
|
-
displayName: 'Keyword',
|
|
17
|
-
required: true,
|
|
18
|
-
})
|
|
19
|
-
},
|
|
20
|
-
run(context) {
|
|
21
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const response = yield (0, common_1.jiraApiCall)({
|
|
23
|
-
auth: context.auth,
|
|
24
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
25
|
-
resourceUri: '/user/search',
|
|
26
|
-
query: {
|
|
27
|
-
query: context.propsValue.keyword
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
return {
|
|
31
|
-
found: response.length > 0,
|
|
32
|
-
data: response
|
|
33
|
-
};
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
//# sourceMappingURL=find-user.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"find-user.js","sourceRoot":"","sources":["../../../../src/lib/actions/find-user.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,sCAAwC;AACxC,+DAAyD;AAE5C,QAAA,cAAc,GAAG,IAAA,+BAAY,EAAC;IACvC,IAAI,EAAC,oBAAa;IAClB,IAAI,EAAC,WAAW;IAChB,WAAW,EAAC,WAAW;IACvB,WAAW,EAAC,yBAAyB;IACrC,KAAK,EAAC;QACF,OAAO,EAAC,2BAAQ,CAAC,SAAS,CAAC;YACvB,WAAW,EAAC,SAAS;YACrB,QAAQ,EAAC,IAAI;SAChB,CAAC;KACL;IACK,GAAG,CAAC,OAAO;;YACb,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAA4B;gBAC1D,IAAI,EAAC,OAAO,CAAC,IAAI;gBACjB,MAAM,EAAC,0BAAU,CAAC,GAAG;gBACrB,WAAW,EAAC,cAAc;gBAC1B,KAAK,EAAC;oBACF,KAAK,EAAC,OAAO,CAAC,UAAU,CAAC,OAAO;iBACnC;aACJ,CAAC,CAAA;YAEF,OAAM;gBACF,KAAK,EAAC,QAAQ,CAAC,MAAM,GAAC,CAAC;gBACvB,IAAI,EAAC,QAAQ;aAChB,CAAA;QACL,CAAC;KAAA;CACJ,CAAC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const getIssueAttachmentAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
attachmentId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
-
}>;
|
|
8
|
-
//# sourceMappingURL=get-issue-attachment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-attachment.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-issue-attachment.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,wBAAwB;;;;;;EA2CnC,CAAA"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getIssueAttachmentAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const common_1 = require("../common");
|
|
8
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
9
|
-
exports.getIssueAttachmentAction = (0, pieces_framework_1.createAction)({
|
|
10
|
-
auth: auth_1.jiraCloudAuth,
|
|
11
|
-
name: 'get-issue-attachment',
|
|
12
|
-
displayName: 'Get Issue Attachment',
|
|
13
|
-
description: 'Retrieves an attachment from an issue.',
|
|
14
|
-
props: {
|
|
15
|
-
attachmentId: pieces_framework_1.Property.ShortText({
|
|
16
|
-
displayName: 'Attachment ID',
|
|
17
|
-
required: true
|
|
18
|
-
})
|
|
19
|
-
},
|
|
20
|
-
run(context) {
|
|
21
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const { attachmentId } = context.propsValue;
|
|
23
|
-
// https://community.developer.atlassian.com/t/download-attachment-from-rest-api/40860/2
|
|
24
|
-
const attachmentResponse = yield (0, common_1.jiraApiCall)({
|
|
25
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
26
|
-
resourceUri: `/attachment/${attachmentId}`,
|
|
27
|
-
auth: context.auth,
|
|
28
|
-
});
|
|
29
|
-
const { filename, content } = attachmentResponse;
|
|
30
|
-
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
31
|
-
url: content,
|
|
32
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
33
|
-
authentication: {
|
|
34
|
-
type: pieces_common_1.AuthenticationType.BASIC,
|
|
35
|
-
username: context.auth.props.email,
|
|
36
|
-
password: context.auth.props.apiToken,
|
|
37
|
-
},
|
|
38
|
-
responseType: 'arraybuffer',
|
|
39
|
-
followRedirects: true,
|
|
40
|
-
});
|
|
41
|
-
return Object.assign(Object.assign({}, attachmentResponse), { file: yield context.files.write({
|
|
42
|
-
fileName: filename,
|
|
43
|
-
data: Buffer.from(response.body)
|
|
44
|
-
}) });
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
//# sourceMappingURL=get-issue-attachment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue-attachment.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-issue-attachment.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,sCAAwC;AACxC,+DAAyF;AAE5E,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACjD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,wCAAwC;IACrD,KAAK,EAAE;QACH,YAAY,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,eAAe;YAC5B,QAAQ,EAAE,IAAI;SACjB,CAAC;KACL;IACK,GAAG,CAAC,OAAO;;YACb,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAE5C,wFAAwF;YACxF,MAAM,kBAAkB,GAAG,MAAM,IAAA,oBAAW,EAAwC;gBAChF,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,WAAW,EAAE,eAAe,YAAY,EAAE;gBAC1C,IAAI,EAAE,OAAO,CAAC,IAAI;aACrB,CAAC,CAAA;YAEF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,kBAAkB,CAAC;YAEjD,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC1C,GAAG,EAAE,OAAO;gBACZ,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,cAAc,EAAE;oBACZ,IAAI,EAAE,kCAAkB,CAAC,KAAK;oBAC9B,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;oBAClC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ;iBACxC;gBACD,YAAY,EAAE,aAAa;gBAC3B,eAAe,EAAE,IAAI;aACxB,CAAC,CAAA;YAEF,uCACO,kBAAkB,KACrB,IAAI,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;oBAC5B,QAAQ,EAAE,QAAQ;oBAClB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;iBACnC,CAAC,IACL;QACL,CAAC;KAAA;CACJ,CAAC,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const getIssueAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
12
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
14
|
-
}>>;
|
|
15
|
-
issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
16
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
19
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
20
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
21
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
22
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
23
|
-
}>>;
|
|
24
|
-
expand: import("@activepieces/pieces-framework").StaticMultiSelectDropdownProperty<string, false>;
|
|
25
|
-
mapNames: import("@activepieces/pieces-framework").CheckboxProperty<true>;
|
|
26
|
-
mapTransitions: import("@activepieces/pieces-framework").CheckboxProperty<true>;
|
|
27
|
-
}>;
|
|
28
|
-
//# sourceMappingURL=get-issue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-issue.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;EAoIzB,CAAC"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getIssueAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
|
-
const common_1 = require("../common");
|
|
9
|
-
const props_1 = require("../common/props");
|
|
10
|
-
exports.getIssueAction = (0, pieces_framework_1.createAction)({
|
|
11
|
-
auth: auth_1.jiraCloudAuth,
|
|
12
|
-
name: 'get_issue',
|
|
13
|
-
displayName: 'Get Issue',
|
|
14
|
-
description: 'Get issue data.',
|
|
15
|
-
props: {
|
|
16
|
-
projectId: (0, props_1.getProjectIdDropdown)(),
|
|
17
|
-
issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
|
|
18
|
-
expand: pieces_framework_1.Property.StaticMultiSelectDropdown({
|
|
19
|
-
displayName: 'Expand',
|
|
20
|
-
description: 'Include additional information about the issue in the response',
|
|
21
|
-
required: false,
|
|
22
|
-
options: {
|
|
23
|
-
options: [
|
|
24
|
-
{
|
|
25
|
-
label: 'Rendered Fields',
|
|
26
|
-
value: 'renderedFields',
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
label: 'Names',
|
|
30
|
-
value: 'names',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: 'Schema',
|
|
34
|
-
value: 'schema',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: 'Transitions',
|
|
38
|
-
value: 'transitions',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: 'Edit Meta',
|
|
42
|
-
value: 'editmeta',
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: 'Changelog',
|
|
46
|
-
value: 'changelog',
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
}),
|
|
51
|
-
mapNames: pieces_framework_1.Property.Checkbox({
|
|
52
|
-
displayName: 'Map Field Names',
|
|
53
|
-
description: `
|
|
54
|
-
Map human readable names to Fields, Rendered Fields, Schema and Edit Meta.
|
|
55
|
-
Notes:
|
|
56
|
-
- This would implicitly add "names" to the expand field
|
|
57
|
-
- If there are fields with the same name, they may be overridden
|
|
58
|
-
`.trim(),
|
|
59
|
-
required: true,
|
|
60
|
-
defaultValue: false,
|
|
61
|
-
}),
|
|
62
|
-
mapTransitions: pieces_framework_1.Property.Checkbox({
|
|
63
|
-
displayName: 'Map Transition Names',
|
|
64
|
-
description: `
|
|
65
|
-
Map human readable names to Transitions.
|
|
66
|
-
Notes:
|
|
67
|
-
- If there are transitions with the same name, they may be overridden
|
|
68
|
-
- This changes the original data structure from list to map
|
|
69
|
-
`.trim(),
|
|
70
|
-
required: true,
|
|
71
|
-
defaultValue: false,
|
|
72
|
-
}),
|
|
73
|
-
},
|
|
74
|
-
run(context) {
|
|
75
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
76
|
-
var _a;
|
|
77
|
-
const { issueId, expand, mapNames, mapTransitions } = context.propsValue;
|
|
78
|
-
const queryParams = {};
|
|
79
|
-
let expandParams = expand;
|
|
80
|
-
// implicitly expand names which is needed for mapping
|
|
81
|
-
if (mapNames) {
|
|
82
|
-
expandParams = [...new Set(expandParams).add('names')];
|
|
83
|
-
}
|
|
84
|
-
if (expandParams) {
|
|
85
|
-
queryParams['expand'] = expandParams.join(',');
|
|
86
|
-
}
|
|
87
|
-
// https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get
|
|
88
|
-
const response = yield (0, common_1.sendJiraRequest)({
|
|
89
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
90
|
-
url: `issue/${issueId}`,
|
|
91
|
-
auth: context.auth,
|
|
92
|
-
queryParams: queryParams,
|
|
93
|
-
});
|
|
94
|
-
const data = response.body;
|
|
95
|
-
if (mapNames) {
|
|
96
|
-
const fieldNames = data.names || {};
|
|
97
|
-
const mappedFields = (0, common_1.mapFieldNames)(data.fields, fieldNames);
|
|
98
|
-
data['fields'] = mappedFields;
|
|
99
|
-
if (data.renderedFields) {
|
|
100
|
-
const mappedRenderedFields = (0, common_1.mapFieldNames)(data.renderedFields, fieldNames);
|
|
101
|
-
data['renderedFields'] = mappedRenderedFields;
|
|
102
|
-
}
|
|
103
|
-
if (data.schema) {
|
|
104
|
-
const mappedSchemaFields = (0, common_1.mapFieldNames)(data.schema, fieldNames);
|
|
105
|
-
data['schema'] = mappedSchemaFields;
|
|
106
|
-
}
|
|
107
|
-
if ((_a = data.editmeta) === null || _a === void 0 ? void 0 : _a.fields) {
|
|
108
|
-
const mappedEditmetaFields = (0, common_1.mapFieldNames)(data.editmeta.fields, fieldNames);
|
|
109
|
-
data['editmeta']['fields'] = mappedEditmetaFields;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
if (mapTransitions && data.transitions) {
|
|
113
|
-
const mappedTransitions = data.transitions.reduce((acc, transition) => {
|
|
114
|
-
acc[transition.name] = transition;
|
|
115
|
-
return acc;
|
|
116
|
-
}, {});
|
|
117
|
-
data['transitions'] = mappedTransitions;
|
|
118
|
-
}
|
|
119
|
-
return data;
|
|
120
|
-
});
|
|
121
|
-
},
|
|
122
|
-
});
|
|
123
|
-
//# sourceMappingURL=get-issue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-issue.js","sourceRoot":"","sources":["../../../../src/lib/actions/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oBAAoB,CAAC;gBAChD,CAAC;gBAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;oBAChB,MAAM,kBAAkB,GAAG,IAAA,sBAAa,EAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;oBAClE,IAAI,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAC;gBACtC,CAAC;gBAED,IAAI,MAAA,IAAI,CAAC,QAAQ,0CAAE,MAAM,EAAE,CAAC;oBAC1B,MAAM,oBAAoB,GAAG,IAAA,sBAAa,EACxC,IAAI,CAAC,QAAQ,CAAC,MAAM,EACpB,UAAU,CACX,CAAC;oBACF,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,GAAG,oBAAoB,CAAC;gBACpD,CAAC;YACH,CAAC;YAED,IAAI,cAAc,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBACvC,MAAM,iBAAiB,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAC/C,CAAC,GAAwB,EAAE,UAAe,EAAE,EAAE;oBAC5C,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC;oBAClC,OAAO,GAAG,CAAC;gBACb,CAAC,EACD,EAAE,CACH,CAAC;gBAEF,IAAI,CAAC,aAAa,CAAC,GAAG,iBAAiB,CAAC;YAC1C,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const linkIssuesAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
firstIssueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
12
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
14
|
-
}>>;
|
|
15
|
-
issueLinkTypeId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
16
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
19
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
20
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
21
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
22
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
23
|
-
}>>;
|
|
24
|
-
secondIssueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
25
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
26
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
27
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
28
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
29
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
30
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
31
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
32
|
-
}>>;
|
|
33
|
-
}>;
|
|
34
|
-
//# sourceMappingURL=link-issues.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link-issues.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/link-issues.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwC3B,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.linkIssuesAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const props_1 = require("../common/props");
|
|
8
|
-
const shared_1 = require("@activepieces/shared");
|
|
9
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
10
|
-
const common_1 = require("../common");
|
|
11
|
-
exports.linkIssuesAction = (0, pieces_framework_1.createAction)({
|
|
12
|
-
auth: auth_1.jiraCloudAuth,
|
|
13
|
-
name: 'link-issues',
|
|
14
|
-
displayName: 'Link Issues',
|
|
15
|
-
description: 'Creates a link between two issues.',
|
|
16
|
-
props: {
|
|
17
|
-
firstIssueId: (0, props_1.issueIdOrKeyProp)('First Issue', true),
|
|
18
|
-
issueLinkTypeId: (0, props_1.issueLinkTypeIdProp)('Link Type', true),
|
|
19
|
-
secondIssueId: (0, props_1.issueIdOrKeyProp)('Second Issue', true),
|
|
20
|
-
},
|
|
21
|
-
run(context) {
|
|
22
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const { firstIssueId, issueLinkTypeId, secondIssueId } = context.propsValue;
|
|
24
|
-
if ((0, shared_1.isNil)(firstIssueId) || (0, shared_1.isNil)(issueLinkTypeId) || (0, shared_1.isNil)(secondIssueId)) {
|
|
25
|
-
throw new Error('First Issue, Link Type, and Second Issue are required');
|
|
26
|
-
}
|
|
27
|
-
const response = yield (0, common_1.jiraApiCall)({
|
|
28
|
-
method: pieces_common_1.HttpMethod.POST,
|
|
29
|
-
resourceUri: '/issueLink',
|
|
30
|
-
auth: context.auth,
|
|
31
|
-
body: {
|
|
32
|
-
type: {
|
|
33
|
-
id: issueLinkTypeId,
|
|
34
|
-
},
|
|
35
|
-
inwardIssue: {
|
|
36
|
-
id: secondIssueId,
|
|
37
|
-
},
|
|
38
|
-
outwardIssue: {
|
|
39
|
-
id: firstIssueId,
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
return {
|
|
44
|
-
success: true,
|
|
45
|
-
message: 'Issues linked successfully',
|
|
46
|
-
data: response ? response : null,
|
|
47
|
-
};
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
});
|
|
51
|
-
//# sourceMappingURL=link-issues.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link-issues.js","sourceRoot":"","sources":["../../../../src/lib/actions/link-issues.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,qCAA2C;AAC3C,2CAAwE;AACxE,iDAA6C;AAC7C,+DAAoE;AACpE,sCAAwC;AAE3B,QAAA,gBAAgB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,oCAAoC;IACjD,KAAK,EAAE;QACL,YAAY,EAAE,IAAA,wBAAgB,EAAC,aAAa,EAAE,IAAI,CAAC;QACnD,eAAe,EAAE,IAAA,2BAAmB,EAAC,WAAW,EAAE,IAAI,CAAC;QACvD,aAAa,EAAE,IAAA,wBAAgB,EAAC,cAAc,EAAE,IAAI,CAAC;KACtD;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAE5E,IAAI,IAAA,cAAK,EAAC,YAAY,CAAC,IAAI,IAAA,cAAK,EAAC,eAAe,CAAC,IAAI,IAAA,cAAK,EAAC,aAAa,CAAC,EAAE,CAAC;gBAC1E,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;YAC3E,CAAC;YAED,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAW,EAAC;gBACjC,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,IAAI,EAAE;oBACJ,IAAI,EAAE;wBACJ,EAAE,EAAE,eAAe;qBACpB;oBACD,WAAW,EAAE;wBACX,EAAE,EAAE,aAAa;qBAClB;oBACD,YAAY,EAAE;wBACZ,EAAE,EAAE,YAAY;qBACjB;iBACF;aACF,CAAC,CAAC;YAEH,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,4BAA4B;gBACrC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;aACjC,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const listIssueCommentsAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
5
|
-
}>, {
|
|
6
|
-
projectId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
10
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
12
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
13
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
14
|
-
}>>;
|
|
15
|
-
issueId: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
16
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
19
|
-
}>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
20
|
-
instanceUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
21
|
-
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
22
|
-
apiToken: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
23
|
-
}>>;
|
|
24
|
-
orderBy: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
25
|
-
limit: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
26
|
-
}>;
|
|
27
|
-
//# sourceMappingURL=list-issue-comments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-issue-comments.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/list-issue-comments.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;EAgDlC,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.listIssueCommentsAction = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../../auth");
|
|
7
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
|
-
const common_1 = require("../common");
|
|
9
|
-
const props_1 = require("../common/props");
|
|
10
|
-
exports.listIssueCommentsAction = (0, pieces_framework_1.createAction)({
|
|
11
|
-
auth: auth_1.jiraCloudAuth,
|
|
12
|
-
name: 'list_issue_comments',
|
|
13
|
-
displayName: 'List Issue Comments',
|
|
14
|
-
description: 'Returns all comments for an issue.',
|
|
15
|
-
props: {
|
|
16
|
-
projectId: (0, props_1.getProjectIdDropdown)(),
|
|
17
|
-
issueId: (0, props_1.getIssueIdDropdown)({ refreshers: ['projectId'] }),
|
|
18
|
-
orderBy: pieces_framework_1.Property.StaticDropdown({
|
|
19
|
-
displayName: 'Order By',
|
|
20
|
-
required: true,
|
|
21
|
-
defaultValue: '-created',
|
|
22
|
-
options: {
|
|
23
|
-
disabled: false,
|
|
24
|
-
options: [
|
|
25
|
-
{
|
|
26
|
-
label: 'Created (Descending)',
|
|
27
|
-
value: '-created',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: 'Created (Ascending)',
|
|
31
|
-
value: '+created',
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
}),
|
|
36
|
-
limit: pieces_framework_1.Property.Number({
|
|
37
|
-
displayName: 'Limit',
|
|
38
|
-
description: 'Maximum number of results',
|
|
39
|
-
required: true,
|
|
40
|
-
defaultValue: 10,
|
|
41
|
-
}),
|
|
42
|
-
},
|
|
43
|
-
run(context) {
|
|
44
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
45
|
-
const { issueId, orderBy, limit } = context.propsValue;
|
|
46
|
-
const response = yield (0, common_1.sendJiraRequest)({
|
|
47
|
-
method: pieces_common_1.HttpMethod.GET,
|
|
48
|
-
url: `issue/${issueId}/comment`,
|
|
49
|
-
auth: context.auth,
|
|
50
|
-
queryParams: {
|
|
51
|
-
orderBy: orderBy,
|
|
52
|
-
maxResults: limit.toString(),
|
|
53
|
-
expand: 'renderedBody',
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
return response.body;
|
|
57
|
-
});
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
//# sourceMappingURL=list-issue-comments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list-issue-comments.js","sourceRoot":"","sources":["../../../../src/lib/actions/list-issue-comments.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,qCAA2C;AAC3C,+DAAyD;AACzD,sCAA4C;AAC5C,2CAA2E;AAE9D,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,oCAAoC;IACjD,KAAK,EAAE;QACN,SAAS,EAAE,IAAA,4BAAoB,GAAE;QACjC,OAAO,EAAE,IAAA,0BAAkB,EAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC1D,OAAO,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAChC,WAAW,EAAE,UAAU;YACvB,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,UAAU;YACxB,OAAO,EAAE;gBACR,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE;oBACR;wBACC,KAAK,EAAE,sBAAsB;wBAC7B,KAAK,EAAE,UAAU;qBACjB;oBACD;wBACC,KAAK,EAAE,qBAAqB;wBAC5B,KAAK,EAAE,UAAU;qBACjB;iBACD;aACD;SACD,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,EAAE;SAChB,CAAC;KACF;IACK,GAAG,CAAC,OAAO;;YAChB,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;YAEvD,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAe,EAAC;gBACtC,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,SAAS,OAAO,UAAU;gBAC/B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,WAAW,EAAE;oBACZ,OAAO,EAAE,OAAO;oBAChB,UAAU,EAAE,KAAK,CAAC,QAAQ,EAAE;oBAC5B,MAAM,EAAE,cAAc;iBACtB;aACD,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACtB,CAAC;KAAA;CACD,CAAC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const markdownToJiraFormat: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").PieceAuthProperty, {
|
|
2
|
-
markdown: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
3
|
-
}>;
|
|
4
|
-
//# sourceMappingURL=markdown-to-jira-format.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-to-jira-format.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/markdown-to-jira-format.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;EA8B/B,CAAC"}
|