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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ticketlens",
3
- "version": "0.38.5",
3
+ "version": "0.38.6",
4
4
  "description": "Jira CLI for developers — fetch ticket context, triage your queue, and stop tab-switching. Zero dependencies, all local.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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.self ?? null };
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.self ?? null };
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 = {}) {