fix(MORG-23): remove Notion-specific assumptions and add Jira getStatuses - #17
Merged
Merged
Conversation
…uses - tickets.ts: use ticket.url directly instead of reconstructing a hardcoded notion.so URL in both renderTicketDetail and runTicketActions - jira/client.ts: implement getStatuses() using the project statuses endpoint so the status-change action shows a select list instead of a plain text prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes MORG-23
Changes
src/commands/tickets.tsrenderTicketDetail: removed hardcodedhttps://notion.so/...URL construction — now usesticket.urldirectly (which is already the correct provider URL)runTicketActions: same fix for the browser/copy URL variablesrc/integrations/jira/client.tsgetStatuses(): queries/project/{key}/statusesto get all statuses defined in the project, deduplicates by name, and falls back to/statusif no project key is configuredmorg ticketsa proper select list instead of a plain text prompt when using Jira