ticketlens 0.38.5 → 0.38.6
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/package.json
CHANGED
|
@@ -458,7 +458,7 @@ export async function postComment(ticketKey, body, opts = {}) {
|
|
|
458
458
|
throw err;
|
|
459
459
|
}
|
|
460
460
|
const raw = await response.json();
|
|
461
|
-
return { id: raw.id, url: raw.
|
|
461
|
+
return { id: raw.id, url: `${baseUrl}/browse/${ticketKey}?focusedCommentId=${raw.id}` };
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
/**
|
|
@@ -728,7 +728,7 @@ export async function createIssue({ project, type, summary, description } = {},
|
|
|
728
728
|
throw err;
|
|
729
729
|
}
|
|
730
730
|
const raw = await response.json();
|
|
731
|
-
return { key: raw.key, id: raw.id, url: raw.
|
|
731
|
+
return { key: raw.key, id: raw.id, url: `${baseUrl}/browse/${raw.key}` };
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
export async function fetchTicket(ticketKey, opts = {}) {
|