1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class JiraIssue {
|
4 | constructor(data, domain) {
|
5 | this.data = data;
|
6 | this.domain = domain;
|
7 | }
|
8 | getIssueUrl() {
|
9 | return `https://${this.domain}/browse/${this.getIssueKey()}`;
|
10 | }
|
11 | getIssueKey() {
|
12 | return this.data.key;
|
13 | }
|
14 | getSummary() {
|
15 | return this.data.fields.summary;
|
16 | }
|
17 | }
|
18 | exports.default = JiraIssue;
|
19 | //# sourceMappingURL=jira-issue.js.map |
\ | No newline at end of file |