@jira-deploy/core 1.0.18 → 1.0.19

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/jira-client.js CHANGED
@@ -79,7 +79,7 @@ export class JiraClient {
79
79
  // 查詢 issue 目前狀態
80
80
  async getIssue(issueKey) {
81
81
  const res = await this.http.get(`/issue/${issueKey}`, {
82
- params: { fields: 'status,summary,assignee,comment' },
82
+ params: { fields: 'status,summary,assignee,comment,issuetype' },
83
83
  });
84
84
  return res.data;
85
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jira-deploy/core",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "repository": {
package/tools/index.js CHANGED
@@ -315,6 +315,7 @@ export async function executeTool(name, args, deps) {
315
315
  issueKey: args.issueKey,
316
316
  status: issue.fields.status.name,
317
317
  summary: issue.fields.summary,
318
+ type: issue.fields.issuetype?.name ?? '',
318
319
  });
319
320
  }
320
321