@axis-backstage/plugin-jira-dashboard-backend 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +281 -0
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# @axis-backstage/plugin-jira-dashboard-backend
|
|
2
|
+
|
|
3
|
+
## 4.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [060bcf6]
|
|
8
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.9.1
|
|
9
|
+
|
|
10
|
+
## 4.0.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- eab8f06: Added support for configuring custom headers for API requests
|
|
15
|
+
|
|
16
|
+
## 4.0.0
|
|
17
|
+
|
|
18
|
+
### Major Changes
|
|
19
|
+
|
|
20
|
+
- 18fba21: BREAKING: The backend has been migrated to the new backend system. The createRouter function now requires the new auth and httpAuth services to be passed in, instead of the removed identity and tokenManager services. If you are using the new backend system module, this does not affect you.
|
|
21
|
+
- 18fba21: Introduced TypeScript type definitions SearchJiraResponse and JiraQueryResults to represent Jira search responses and pagination details.
|
|
22
|
+
Updated the searchJira function to return search results as a SearchJiraResponse, incorporating the new types.
|
|
23
|
+
The searchJira function now returns an object containing both the search results and the HTTP status code, improving error resilience and clarity in handling search operations.
|
|
24
|
+
The JiraQueryResults type outlines the structure of a paginated Jira search response, facilitating better data handling.
|
|
25
|
+
These changes streamline the Jira Dashboard plugin's codebase, improving error resilience and clarity in handling search operations.
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- 18fba21: Add support for multiple Jira instances
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 6c9c4b6: Fixed caching of user issues when having multiple Jira instances.
|
|
34
|
+
- Updated dependencies [18fba21]
|
|
35
|
+
- Updated dependencies [18fba21]
|
|
36
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.9.0
|
|
37
|
+
|
|
38
|
+
## 3.1.0
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- 39b1dbf: Add support for multiple Jira instances
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [39b1dbf]
|
|
47
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.8.0
|
|
48
|
+
|
|
49
|
+
## 3.0.0
|
|
50
|
+
|
|
51
|
+
### Major Changes
|
|
52
|
+
|
|
53
|
+
- b6b406c: BREAKING: The backend has been migrated to the new backend system. The createRouter function now requires the new auth and httpAuth services to be passed in, instead of the removed identity and tokenManager services. If you are using the new backend system module, this does not affect you.
|
|
54
|
+
|
|
55
|
+
## 2.7.0
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- d3129c0: Adding jql query to support links within JiraTable title
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [d3129c0]
|
|
64
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.7.0
|
|
65
|
+
|
|
66
|
+
## 2.6.1
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- 65ae7b3: Removed deprecated types and fixed the standalone server
|
|
71
|
+
- 1db0ada: Marked `createRouter` and `RouterOptions` as deprecated, to be removed soon after the Backstage `1.32.0` release in October
|
|
72
|
+
- 56e84d6: Quote the incoming status string in the JQL. This makes it possible to have strings that contain whitespace.
|
|
73
|
+
|
|
74
|
+
## 2.6.0
|
|
75
|
+
|
|
76
|
+
### Minor Changes
|
|
77
|
+
|
|
78
|
+
- 9bc46fc: New component - JiraUserIssuesCardView - listing user issues view for current logged user
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Updated dependencies [9bc46fc]
|
|
83
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.6.0
|
|
84
|
+
|
|
85
|
+
## 2.5.0
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- 6fd284d: Updated to Backstage v1.30.1.
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Updated dependencies [6fd284d]
|
|
94
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.5.0
|
|
95
|
+
|
|
96
|
+
## 2.4.0
|
|
97
|
+
|
|
98
|
+
### Minor Changes
|
|
99
|
+
|
|
100
|
+
- 0b948ea: Generate pluginIds for plugins and bumping @backstage/cli
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- Updated dependencies [0b948ea]
|
|
105
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.4.0
|
|
106
|
+
|
|
107
|
+
## 2.3.1
|
|
108
|
+
|
|
109
|
+
### Patch Changes
|
|
110
|
+
|
|
111
|
+
- Updated dependencies [e416aff]
|
|
112
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.3.0
|
|
113
|
+
|
|
114
|
+
## 2.3.0
|
|
115
|
+
|
|
116
|
+
### Minor Changes
|
|
117
|
+
|
|
118
|
+
- 916589b: Bumped Backstage to v.27.7 and removed the TechRadar plugin since it was not used and caused problems with the new version.
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Updated dependencies [916589b]
|
|
123
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.2.0
|
|
124
|
+
|
|
125
|
+
## 2.2.0
|
|
126
|
+
|
|
127
|
+
### Minor Changes
|
|
128
|
+
|
|
129
|
+
- 0ec1f12: Created the incoming-issues-annotation to make it possible for users to define Jira status for Incoming issues other than "New". Made some smaller refactoring in filter.ts to create better consistency among functions.
|
|
130
|
+
- 56c3a07: The Backstage user entity profile email is now used as default for "Assigned to me" filters. Made the JIRA_EMAIL_SUFFIX optional, so it still can be used if Backstage email does not match the one in Jira.
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- 7f0b7cd: Added additional documentation how to authenticate with Jira.
|
|
135
|
+
- Updated dependencies [0ec1f12]
|
|
136
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.1.0
|
|
137
|
+
|
|
138
|
+
## 2.1.0
|
|
139
|
+
|
|
140
|
+
### Minor Changes
|
|
141
|
+
|
|
142
|
+
- 5fd2a31: Querying for components that contain spaces should now return the expected results. Component
|
|
143
|
+
names is now wrapped in single quotations.
|
|
144
|
+
|
|
145
|
+
Added the `jqlQueryBuilder` function that will create a JQL query based on the arguments. This is
|
|
146
|
+
exported from the backend plugin to be used outside the context of the plugin together with the
|
|
147
|
+
`searchJira` function.
|
|
148
|
+
|
|
149
|
+
### Patch Changes
|
|
150
|
+
|
|
151
|
+
- 11822da: Enhance error message when querying for projects
|
|
152
|
+
|
|
153
|
+
## 2.0.0
|
|
154
|
+
|
|
155
|
+
### Major Changes
|
|
156
|
+
|
|
157
|
+
- 0535af4: **BREAKING** The Jira dashboard backend now uses the new auth service introduced in Backstage v1.24.0. This is only applicable when using this plugin in the new Backstage backend. This could break the usage in Backstage installations older than v1.24.0 if the new backend system is used.
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- 0535af4: Bumped backstage dependencies to match 1.26.0
|
|
162
|
+
- 0535af4: Updated the installation instructions for the new backend system.
|
|
163
|
+
- Updated dependencies [0535af4]
|
|
164
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.0.1
|
|
165
|
+
|
|
166
|
+
## 1.0.0
|
|
167
|
+
|
|
168
|
+
### Major Changes
|
|
169
|
+
|
|
170
|
+
- 9456530: Updated the getIssuesByFilter function to accept an array of components,
|
|
171
|
+
enabling the construction of more flexible JQL queries.
|
|
172
|
+
Introduced a new variable named componentQuery to represent the portion of the JQL query related to components.
|
|
173
|
+
|
|
174
|
+
Enhanced the getIssuesFromFilters function to include support for filtering by components.
|
|
175
|
+
Now, along with project keys and filters, the function also accepts an array of components.
|
|
176
|
+
This change allows for more comprehensive filtering options when retrieving issues from Jira.
|
|
177
|
+
|
|
178
|
+
Modified the router implementation to pass the array of components to the getIssuesFromFilters function.
|
|
179
|
+
By including components in the request, users can now specify additional criteria for filtering Jira issues,
|
|
180
|
+
resulting in more refined search results.
|
|
181
|
+
|
|
182
|
+
The introduced changes provide users with greater flexibility and control when retrieving Jira issues,
|
|
183
|
+
allowing for more precise filtering based on project keys, components, and filter criteria.
|
|
184
|
+
This enhancement improves the overall usability and effectiveness of the Jira integration functionality.
|
|
185
|
+
|
|
186
|
+
### Patch Changes
|
|
187
|
+
|
|
188
|
+
- Updated dependencies [517c68a]
|
|
189
|
+
- @axis-backstage/plugin-jira-dashboard-common@1.0.0
|
|
190
|
+
|
|
191
|
+
## 0.7.4
|
|
192
|
+
|
|
193
|
+
### Patch Changes
|
|
194
|
+
|
|
195
|
+
- f23bacd: added content type header to searchJira call
|
|
196
|
+
|
|
197
|
+
## 0.7.3
|
|
198
|
+
|
|
199
|
+
### Patch Changes
|
|
200
|
+
|
|
201
|
+
- f3203e9: Fix dependencies in published packages
|
|
202
|
+
|
|
203
|
+
## 0.7.2
|
|
204
|
+
|
|
205
|
+
### Patch Changes
|
|
206
|
+
|
|
207
|
+
- 5bb3330: Added and exported a function `searchJira` that searches for Jira issues using
|
|
208
|
+
JQL. This can be used outside this plugin to search for issues. For more information about the available options see the API documentation at
|
|
209
|
+
[issue search](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-search/#api-rest-api-2-search-post).
|
|
210
|
+
|
|
211
|
+
## 0.7.1
|
|
212
|
+
|
|
213
|
+
### Patch Changes
|
|
214
|
+
|
|
215
|
+
- ae965c0: Fix broken workspace dependencies
|
|
216
|
+
|
|
217
|
+
## 0.7.0
|
|
218
|
+
|
|
219
|
+
### Minor Changes
|
|
220
|
+
|
|
221
|
+
- 135e3b2: Updated the resolveUserEmailSuffix function to utilize config.getOptionalString method, providing a more concise approach. This modification ensures that an empty string is returned if the Jira user email suffix configuration is missing, effectively preventing failures and enhancing error logging capabilities.
|
|
222
|
+
|
|
223
|
+
Modified the retrieval of project keys in the router module to handle multiple project keys specified in annotations for e.g., jira.com/project-key: abc,def,ghi
|
|
224
|
+
The updated logic now parses multiple project keys properly and supports comma-separated values. It's important to note that in cases where multiple project keys are present, only the first project key (projectKey[0]) is used for display on the project card i.e, in this case project-key "abc", assuming it represents the main project. However, the response table will include data from all project keys specified in the annotations.
|
|
225
|
+
|
|
226
|
+
## 0.6.0
|
|
227
|
+
|
|
228
|
+
### Minor Changes
|
|
229
|
+
|
|
230
|
+
- 33497c0: Dashboard and Avatar backend APIs adjusted to consume entityRef as /:kind/:namespace/:name. Fixes a 404 routing issue where a proxy like oauth2Proxy could decode the URI encoded path parameter /:entityRef known to contain the reserved path delimiter '/'.
|
|
231
|
+
|
|
232
|
+
### Patch Changes
|
|
233
|
+
|
|
234
|
+
- d45e6cb: The Jira Dashboard backend now also looks for the `/component`-annotation, in order to support Roadies annotation.
|
|
235
|
+
- 3adbfd1: Fix inaccuracy in config documentation in README.md
|
|
236
|
+
|
|
237
|
+
## 0.5.0
|
|
238
|
+
|
|
239
|
+
### Minor Changes
|
|
240
|
+
|
|
241
|
+
- 97f5bf4: Created optional ANNOTATION_PREFIX config in backend to make it possible to define custom annotations. The jira.com annotation is still used if no config value is provided. Also removed check for annotation in frontend and only return error message 'Could not fetch Jira Dashboard content for defined project key' if no Jira data is returned from backend.
|
|
242
|
+
|
|
243
|
+
### Patch Changes
|
|
244
|
+
|
|
245
|
+
- Updated dependencies [97f5bf4]
|
|
246
|
+
- @axis-backstage/plugin-jira-dashboard-common@0.4.0
|
|
247
|
+
|
|
248
|
+
## 0.4.0
|
|
249
|
+
|
|
250
|
+
### Minor Changes
|
|
251
|
+
|
|
252
|
+
- 864d983: Bumped Backstage version to v.1.22.0
|
|
253
|
+
|
|
254
|
+
### Patch Changes
|
|
255
|
+
|
|
256
|
+
- 1248d02: Removed the single quotes from documentation config strings
|
|
257
|
+
- Updated dependencies [864d983]
|
|
258
|
+
- @axis-backstage/plugin-jira-dashboard-common@0.3.0
|
|
259
|
+
|
|
260
|
+
## 0.3.0
|
|
261
|
+
|
|
262
|
+
### Minor Changes
|
|
263
|
+
|
|
264
|
+
- 23ff76a: Bumped Backstage version to v.1.21.0 in whole monorepo
|
|
265
|
+
|
|
266
|
+
### Patch Changes
|
|
267
|
+
|
|
268
|
+
- Updated dependencies [23ff76a]
|
|
269
|
+
- @axis-backstage/plugin-jira-dashboard-common@0.2.0
|
|
270
|
+
|
|
271
|
+
## 0.2.0
|
|
272
|
+
|
|
273
|
+
### Minor Changes
|
|
274
|
+
|
|
275
|
+
- a67c963: Bumped Backstage to version 1.20.3
|
|
276
|
+
|
|
277
|
+
### Patch Changes
|
|
278
|
+
|
|
279
|
+
- 1e7ee53: Added missing config.d.ts file to package.json
|
|
280
|
+
- Updated dependencies [9cf5ab1]
|
|
281
|
+
- @axis-backstage/plugin-jira-dashboard-common@0.1.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axis-backstage/plugin-jira-dashboard-backend",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"postpack": "backstage-cli package postpack"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@axis-backstage/plugin-jira-dashboard-common": "^1.9.
|
|
32
|
+
"@axis-backstage/plugin-jira-dashboard-common": "^1.9.1",
|
|
33
33
|
"@backstage/backend-common": "^0.24.0",
|
|
34
34
|
"@backstage/backend-defaults": "^0.4.3",
|
|
35
35
|
"@backstage/backend-plugin-api": "^0.8.0",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
],
|
|
57
57
|
"configSchema": "config.d.ts",
|
|
58
58
|
"directory": "_release/package"
|
|
59
|
-
}
|
|
59
|
+
}
|