@credal/actions 0.1.51 → 0.1.52

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.
@@ -17,6 +17,26 @@ const getJiraIssuesByQuery = (_a) => __awaiter(void 0, [_a], void 0, function* (
17
17
  const queryParams = new URLSearchParams();
18
18
  queryParams.set("jql", query);
19
19
  queryParams.set("maxResults", String(limit != undefined && limit <= DEFAULT_LIMIT ? limit : DEFAULT_LIMIT));
20
+ const fields = [
21
+ "key",
22
+ "id",
23
+ "project",
24
+ "issuetype",
25
+ "summary",
26
+ "description",
27
+ "status",
28
+ "assignee",
29
+ "reporter",
30
+ "creator",
31
+ "created",
32
+ "updated",
33
+ "resolution",
34
+ "duedate",
35
+ "timeoriginalestimate",
36
+ "timespent",
37
+ "aggregatetimeoriginalestimate",
38
+ ];
39
+ queryParams.set("fields", fields.join(","));
20
40
  const apiUrl = `https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search/jql?${queryParams.toString()}`;
21
41
  try {
22
42
  const response = yield axiosClient_1.axiosClient.get(apiUrl, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "AI Actions by Credal AI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",