@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
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# n8n-nodes-youtrack
|
|
2
|
+
|
|
3
|
+
[](https://github.com/JetBrains#jetbrains-on-github)
|
|
4
|
+
|
|
5
|
+
This is an n8n community node. It lets you use YouTrack in your n8n workflows.
|
|
6
|
+
|
|
7
|
+
YouTrack is a project management and issue tracking tool by JetBrains that helps teams manage projects, track issues, and collaborate effectively.
|
|
8
|
+
|
|
9
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
10
|
+
|
|
11
|
+
[Installation](#installation)
|
|
12
|
+
[Actions](#actions)
|
|
13
|
+
[Credentials](#credentials)
|
|
14
|
+
[Compatibility](#compatibility)
|
|
15
|
+
[Usage](#usage)
|
|
16
|
+
[Resources](#resources)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
21
|
+
|
|
22
|
+
## Actions
|
|
23
|
+
Actions allow users to integrate the [YouTrack REST API](https://www.jetbrains.com/help/youtrack/devportal/youtrack-rest-api.html) in their n8n workflows.
|
|
24
|
+
|
|
25
|
+
<img src="images/action.png" alt="drawing" width="500"/>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
The YouTrack node supports the following resources and operations:
|
|
30
|
+
|
|
31
|
+
### Command
|
|
32
|
+
- **Execute** - Execute YouTrack commands on one or more issues (bulk operations supported). Supports all YouTrack commands: tags, assignees, comments, work items, votes, watchers, links, custom fields, and more.
|
|
33
|
+
|
|
34
|
+
### Comment
|
|
35
|
+
- **Add** - Add a comment to an issue
|
|
36
|
+
- **List** - List all comments on an issue
|
|
37
|
+
|
|
38
|
+
### Issue
|
|
39
|
+
- **Create** - Create a new issue
|
|
40
|
+
- **Delete** - Delete an issue
|
|
41
|
+
- **Get** - Get an issue by ID
|
|
42
|
+
- **List** - List issues
|
|
43
|
+
- **Update** - Update an issue
|
|
44
|
+
|
|
45
|
+
### Issue Draft
|
|
46
|
+
- **Create** - Create a new issue draft
|
|
47
|
+
- **Delete** - Delete an issue draft
|
|
48
|
+
- **Get** - Get an issue draft by ID
|
|
49
|
+
- **List** - List issue drafts
|
|
50
|
+
- **Update** - Update an issue draft
|
|
51
|
+
|
|
52
|
+
### Project
|
|
53
|
+
- **Get** - Get a specific project
|
|
54
|
+
- **Get Fields Schema** - Get the JSON schema for custom fields in the specified project
|
|
55
|
+
- **Get Issues** - Get issues for a specific project
|
|
56
|
+
- **List** - List all projects
|
|
57
|
+
|
|
58
|
+
### Saved Query
|
|
59
|
+
- **Create** - Create a new saved query
|
|
60
|
+
- **List** - List all saved queries visible to the current user
|
|
61
|
+
|
|
62
|
+
### Tag
|
|
63
|
+
- **Add to Issue** - Add a tag to an issue
|
|
64
|
+
- **Get Issue Tags** - Get all tags on a specific issue
|
|
65
|
+
- **List** - List all available tags
|
|
66
|
+
- **Remove From Issue** - Remove a tag from an issue
|
|
67
|
+
|
|
68
|
+
### User
|
|
69
|
+
- **Get** - Get a specific user by ID or login
|
|
70
|
+
- **Get Current** - Get current authenticated user
|
|
71
|
+
- **Get General Profile** - Get general profile settings for a specific user
|
|
72
|
+
- **Get Notifications Profile** - Get notification settings for a specific user
|
|
73
|
+
- **Get Saved Queries** - Get saved queries for a specific user
|
|
74
|
+
- **Get Tags** - Get tags for a specific user
|
|
75
|
+
- **Get Time Tracking Profile** - Get time tracking settings for a specific user
|
|
76
|
+
- **List** - List users
|
|
77
|
+
|
|
78
|
+
### User Group
|
|
79
|
+
- **Get** - Get a specific user group by ID
|
|
80
|
+
- **Get Members** - Get members of a user group
|
|
81
|
+
- **List** - List user groups
|
|
82
|
+
|
|
83
|
+
### Work Item
|
|
84
|
+
- **Add** - Add a work item (time tracking) to an issue
|
|
85
|
+
|
|
86
|
+
## YouTrack Trigger (Webhook)
|
|
87
|
+
|
|
88
|
+
The YouTrack Trigger node allows you to start workflows automatically when events occur in YouTrack (e.g., issue created, updated, deleted).
|
|
89
|
+
|
|
90
|
+
<img src="images/trigger.png" alt="drawing" width="400"/>
|
|
91
|
+
|
|
92
|
+
### Supported Events
|
|
93
|
+
|
|
94
|
+
- Issue Created
|
|
95
|
+
- Issue Updated
|
|
96
|
+
- Issue Deleted
|
|
97
|
+
- Comment Added
|
|
98
|
+
- Comment Updated
|
|
99
|
+
- Comment Deleted
|
|
100
|
+
- Work Item Added
|
|
101
|
+
- Work Item Updated
|
|
102
|
+
- Work Item Deleted
|
|
103
|
+
- Issue Attachment Added
|
|
104
|
+
- Issue Attachment Deleted
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Credentials
|
|
109
|
+
|
|
110
|
+
To use the YouTrack node, you need to authenticate with your YouTrack instance using a permanent token.
|
|
111
|
+
|
|
112
|
+
### Prerequisites
|
|
113
|
+
|
|
114
|
+
1. Access to a YouTrack instance (cloud or server)
|
|
115
|
+
2. A YouTrack account with appropriate permissions
|
|
116
|
+
|
|
117
|
+
### Setting Up Authentication
|
|
118
|
+
|
|
119
|
+
1. **Generate a Permanent Token in YouTrack**
|
|
120
|
+
2. **Configure Credentials in n8n**:
|
|
121
|
+
- In n8n, go to **Credentials** > **Create Credential**
|
|
122
|
+
- Select **YouTrack API**
|
|
123
|
+
- Enter your **YouTrack URL** (e.g., `https://your-instance.myjetbrains.com/youtrack` or `http://localhost:8088` for self-hosted)
|
|
124
|
+
- Note: Enter the base URL without `/api` at the end
|
|
125
|
+
- Enter your **Permanent Token**
|
|
126
|
+
- Click **Save**
|
|
127
|
+
|
|
128
|
+
The node uses Bearer token authentication and will automatically include the token in all API requests.
|
|
129
|
+
|
|
130
|
+
## Compatibility
|
|
131
|
+
|
|
132
|
+
- **Minimum n8n version**: 1.0.0
|
|
133
|
+
- **Tested with**: n8n 1.0.0 and later
|
|
134
|
+
- **YouTrack API**: Compatible with YouTrack REST API
|
|
135
|
+
|
|
136
|
+
## Usage
|
|
137
|
+
|
|
138
|
+
### Command Execute
|
|
139
|
+
|
|
140
|
+
The **Command Execute** operation allows you to apply YouTrack commands to issues using natural language syntax. Examples:
|
|
141
|
+
- `tag MyTag for me` - Adds "MyTag" to issue and assigns it to you
|
|
142
|
+
- `tag To Deploy for jane.doe` - Adds "To Deploy" tag and assigns to jane.doe
|
|
143
|
+
- `work 2h Fixed bug` - Logs 2 hours of work with a comment
|
|
144
|
+
|
|
145
|
+
Note: `vote+1` cannot be used on your own issues, and usernames must be valid YouTrack logins.
|
|
146
|
+
|
|
147
|
+
### Custom Fields
|
|
148
|
+
|
|
149
|
+
To discover available custom fields for a project, use the **Project > Get Fields Schema** operation, which returns the JSON schema for all custom fields in the specified project.
|
|
150
|
+
|
|
151
|
+
### Issue Queries
|
|
152
|
+
|
|
153
|
+
When listing or filtering issues, YouTrack uses its own query language. See the [YouTrack Query Syntax documentation](https://www.jetbrains.com/help/youtrack/incloud/Search-and-Command-Attributes.html) for details.
|
|
154
|
+
|
|
155
|
+
### Webhooks
|
|
156
|
+
|
|
157
|
+
For webhook triggers, you need to configure webhook subscriptions in your YouTrack instance. The YouTrack Trigger node will provide you with the webhook URL to use during setup.
|
|
158
|
+
|
|
159
|
+
## Resources
|
|
160
|
+
|
|
161
|
+
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
162
|
+
* [YouTrack REST API documentation](https://www.jetbrains.com/help/youtrack/devportal/youtrack-rest-api.html)
|
|
163
|
+
* [YouTrack documentation](https://www.jetbrains.com/help/youtrack/)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><g transform="translate(6 6) scale(5.85938)"><clipPath id="prefix__a"><path d="M0 0h85.333v85.333H0z"/></clipPath><g clip-path="url(#prefix__a)"><path d="M1.306 51.245a.251.251 0 01-.076-.31l7.636-15.726L.058 24.691a.251.251 0 01.032-.352L25.78 2.932c4.559-3.796 11.203-3.904 15.884-.26 4.676 3.637 6.183 10.106 3.597 15.436l-2.8 5.767c1.092-.367 2.173-.7 3.241-1l12.674-3.64a.25.25 0 01.313.186l5.306 23.585a.253.253 0 01-.215.307c-1.682.212-10.858 1.53-22.281 6.33-12.944 5.435-21.485 13.162-22.695 14.292a.247.247 0 01-.319.014L1.306 51.245z" fill="url(#prefix___Linear2)" fill-rule="nonzero" transform="scale(1.33333)"/><path fill-rule="nonzero" d="M16 16h53.333v53.333H16z"/><path d="M44 58.667H22.667v4H44v-4zM28.623 35.16l-7.318-12.504h4.2l4.532 7.99.53 1.143.529-1.158 4.415-7.974h4.13l-7.204 12.476v7.53h-3.814V35.16zm11.76-12.504h16.05v3.516h-6.06v16.495h-3.902V26.173h-6.088v-3.517z" fill="#fff" fill-rule="nonzero"/></g></g><defs><linearGradient id="prefix___Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="translate(-.102 32) scale(64.155)"><stop offset="0" stop-color="#fb43ff"/><stop offset=".97" stop-color="#fb406d"/><stop offset="1" stop-color="#fb406d"/></linearGradient></defs></svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class PermanentTokenCredentialForYouTrackApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
icon: "file:../../common/youtrack-logo.svg";
|
|
10
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PermanentTokenCredentialForYouTrackApi = void 0;
|
|
4
|
+
class PermanentTokenCredentialForYouTrackApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'permanentTokenCredentialForYouTrackApi';
|
|
7
|
+
this.displayName = 'Permanent Token Credential for YouTrack API';
|
|
8
|
+
this.documentationUrl = 'https://www.jetbrains.com/help/youtrack/devportal/youtrack-rest-api.html';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'YouTrack URL',
|
|
12
|
+
name: 'url',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: '',
|
|
15
|
+
placeholder: 'e.g. http://localhost:8088',
|
|
16
|
+
description: 'The base URL of your YouTrack instance (without /api)',
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Permanent Token',
|
|
21
|
+
name: 'token',
|
|
22
|
+
type: 'string',
|
|
23
|
+
typeOptions: {
|
|
24
|
+
password: true,
|
|
25
|
+
},
|
|
26
|
+
default: '',
|
|
27
|
+
description: 'Your YouTrack permanent token. Generate one in your Hub profile under Authentication > Tokens.',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
this.authenticate = {
|
|
32
|
+
type: 'generic',
|
|
33
|
+
properties: {
|
|
34
|
+
headers: {
|
|
35
|
+
'Authorization': '=Bearer {{$credentials.token}}',
|
|
36
|
+
'Accept': 'application/json',
|
|
37
|
+
'Content-Type': 'application/json',
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
this.test = {
|
|
42
|
+
request: {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '={{$credentials.url}}/api/admin/projects?fields=id&$top=1',
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
this.icon = 'file:../../common/youtrack-logo.svg';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.PermanentTokenCredentialForYouTrackApi = PermanentTokenCredentialForYouTrackApi;
|
|
51
|
+
//# sourceMappingURL=PermanentTokenCredentialForYouTrackApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PermanentTokenCredentialForYouTrackApi.credentials.js","sourceRoot":"","sources":["../../credentials/PermanentTokenCredentialForYouTrackApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,sCAAsC;IAAnD;QACI,SAAI,GAAG,wCAAwC,CAAC;QAChD,gBAAW,GAAG,6CAA6C,CAAC;QAE5D,qBAAgB,GAAG,0EAA0E,CAAC;QAC9F,eAAU,GAAsB;YAC5B;gBACI,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4BAA4B;gBACzC,WAAW,EAAE,uDAAuD;gBACpE,QAAQ,EAAE,IAAI;aACjB;YACD;gBACI,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACT,QAAQ,EAAE,IAAI;iBACjB;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gGAAgG;gBAC7G,QAAQ,EAAE,IAAI;aACjB;SACJ,CAAC;QACF,iBAAY,GAAyB;YACjC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACR,OAAO,EAAE;oBACL,eAAe,EAAE,gCAAgC;oBACjD,QAAQ,EAAE,kBAAkB;oBAC5B,cAAc,EAAE,kBAAkB;iBACrC;aACJ;SACJ,CAAC;QAEL,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,2DAA2D;aAChE;SACD,CAAC;QAEF,SAAI,GAAG,qCAA8C,CAAC;IAEvD,CAAC;CAAA;AA/CD,wFA+CC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class YouTrackWebhookAuthApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: undefined;
|
|
8
|
+
test: undefined;
|
|
9
|
+
icon: "file:../../common/youtrack-logo.svg";
|
|
10
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.YouTrackWebhookAuthApi = void 0;
|
|
4
|
+
class YouTrackWebhookAuthApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'youTrackWebhookAuthApi';
|
|
7
|
+
this.displayName = 'YouTrack Webhook Auth API';
|
|
8
|
+
this.documentationUrl = 'https://www.jetbrains.com/help/youtrack/devportal/youtrack-rest-api.html';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Authentication Method',
|
|
12
|
+
name: 'authMethod',
|
|
13
|
+
type: 'options',
|
|
14
|
+
options: [
|
|
15
|
+
{
|
|
16
|
+
name: 'Header Auth',
|
|
17
|
+
value: 'headerAuth',
|
|
18
|
+
description: 'Authenticate using a custom header',
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
default: 'headerAuth',
|
|
22
|
+
description: 'The authentication method to use for webhook validation',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Header Name',
|
|
26
|
+
name: 'headerName',
|
|
27
|
+
type: 'string',
|
|
28
|
+
displayOptions: {
|
|
29
|
+
show: {
|
|
30
|
+
authMethod: ['headerAuth'],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
default: 'X-YouTrack-Signature',
|
|
34
|
+
description: 'The name of the header that contains the authentication token',
|
|
35
|
+
required: true,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Authentication Token',
|
|
39
|
+
name: 'authToken',
|
|
40
|
+
type: 'string',
|
|
41
|
+
typeOptions: {
|
|
42
|
+
password: true,
|
|
43
|
+
},
|
|
44
|
+
default: '',
|
|
45
|
+
description: 'The secret token used to authenticate incoming webhooks. Generate a random secure token and configure it in your YouTrack app.',
|
|
46
|
+
required: true,
|
|
47
|
+
placeholder: 'e.g. my-secret-webhook-token-12345',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
this.authenticate = undefined;
|
|
51
|
+
this.test = undefined;
|
|
52
|
+
this.icon = 'file:../../common/youtrack-logo.svg';
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.YouTrackWebhookAuthApi = YouTrackWebhookAuthApi;
|
|
56
|
+
//# sourceMappingURL=YouTrackWebhookAuthApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YouTrackWebhookAuthApi.credentials.js","sourceRoot":"","sources":["../../credentials/YouTrackWebhookAuthApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,sBAAsB;IAAnC;QACC,SAAI,GAAG,wBAAwB,CAAC;QAChC,gBAAW,GAAG,2BAA2B,CAAC;QAE1C,qBAAgB,GAAG,0EAA0E,CAAC;QAC9F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,uBAAuB;gBACpC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,aAAa;wBACnB,KAAK,EAAE,YAAY;wBACnB,WAAW,EAAE,oCAAoC;qBACjD;iBACD;gBACD,OAAO,EAAE,YAAY;gBACrB,WAAW,EAAE,yDAAyD;aACtE;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,UAAU,EAAE,CAAC,YAAY,CAAC;qBAC1B;iBACD;gBACD,OAAO,EAAE,sBAAsB;gBAC/B,WAAW,EAAE,+DAA+D;gBAC5E,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gIAAgI;gBAC7I,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oCAAoC;aACjD;SACD,CAAC;QACF,iBAAY,GAAG,SAAS,CAAC;QACzB,SAAI,GAAG,SAAS,CAAC;QAEjB,SAAI,GAAG,qCAA8C,CAAC;IACvD,CAAC;CAAA;AAlDD,wDAkDC"}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-youtrack.YouTrack",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Miscellaneous"
|
|
7
|
+
],
|
|
8
|
+
"resources": {
|
|
9
|
+
"credentialDocumentation": [
|
|
10
|
+
{
|
|
11
|
+
"url": ""
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"primaryDocumentation": [
|
|
15
|
+
{
|
|
16
|
+
"url": ""
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-youtrack.YouTrackTrigger",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Miscellaneous"
|
|
7
|
+
],
|
|
8
|
+
"resources": {
|
|
9
|
+
"credentialDocumentation": [
|
|
10
|
+
{
|
|
11
|
+
"url": "https://www.jetbrains.com/help/youtrack/devportal/youtrack-rest-api.html"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"primaryDocumentation": [
|
|
15
|
+
{
|
|
16
|
+
"url": "https://www.jetbrains.com/help/youtrack/server/Workflow-Tutorial.html"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Youtrack = void 0;
|
|
4
|
+
const resources_1 = require("./resources");
|
|
5
|
+
class Youtrack {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.description = {
|
|
8
|
+
displayName: 'YouTrack',
|
|
9
|
+
name: 'youtrack',
|
|
10
|
+
icon: 'file:../../common/youtrack-logo.svg',
|
|
11
|
+
group: ['transform'],
|
|
12
|
+
version: 1,
|
|
13
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
14
|
+
description: 'Get data from YouTrack API',
|
|
15
|
+
defaults: {
|
|
16
|
+
name: 'YouTrack',
|
|
17
|
+
},
|
|
18
|
+
inputs: ['main'],
|
|
19
|
+
outputs: ['main'],
|
|
20
|
+
credentials: [
|
|
21
|
+
{
|
|
22
|
+
name: 'permanentTokenCredentialForYouTrackApi',
|
|
23
|
+
required: true,
|
|
24
|
+
displayName: 'Credentials to Connect to YouTrack',
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
requestDefaults: {
|
|
28
|
+
baseURL: '={{$credentials.url}}/api',
|
|
29
|
+
headers: {
|
|
30
|
+
Accept: 'application/json',
|
|
31
|
+
'Content-Type': 'application/json',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
properties: resources_1.nodeProperties,
|
|
35
|
+
usableAsTool: true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Youtrack = Youtrack;
|
|
40
|
+
//# sourceMappingURL=Youtrack.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Youtrack.node.js","sourceRoot":"","sources":["../../../nodes/YouTrack/Youtrack.node.ts"],"names":[],"mappings":";;;AACA,2CAA2C;AAE3C,MAAa,QAAQ;IAArB;QACI,gBAAW,GAAyB;YAEhC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qCAAqC;YAC3C,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE;gBACN,IAAI,EAAE,UAAU;aACnB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACT;oBACI,IAAI,EAAE,wCAAwC;oBAC9C,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,oCAAoC;iBACpD;aACJ;YACD,eAAe,EAAE;gBACb,OAAO,EAAE,2BAA2B;gBACpC,OAAO,EAAE;oBACL,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBACrC;aACJ;YACD,UAAU,EAAE,0BAAc;YAC1B,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;CAAA;AAhCD,4BAgCC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData, IHookFunctions } from 'n8n-workflow';
|
|
2
|
+
export declare class YoutrackTrigger implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
webhookMethods: {
|
|
5
|
+
default: {
|
|
6
|
+
checkExists(this: IHookFunctions): Promise<boolean>;
|
|
7
|
+
create(this: IHookFunctions): Promise<boolean>;
|
|
8
|
+
delete(this: IHookFunctions): Promise<boolean>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
|
|
12
|
+
}
|