Back to articles
How We Added Jira and GitHub Integrations to SendRec

How We Added Jira and GitHub Integrations to SendRec

via Dev.to WebdevAlex Neamtu

You record a bug. You watch it back. You open Jira, create a ticket, paste the video link, copy the transcript, and fill in the title. That's four context switches for something that should take one click. SendRec now has built-in Jira and GitHub integrations. From any video, click "Create Issue" and a ticket appears in your project tracker with the video link and a transcript excerpt already attached. Here's how we built it. The IssueCreator interface We wanted to support multiple providers without the handler knowing which one it's talking to. A simple interface does the job: type IssueCreator interface { CreateIssue ( ctx context . Context , req CreateIssueRequest ) ( * CreateIssueResponse , error ) ValidateConfig ( ctx context . Context ) error } type CreateIssueRequest struct { Title string Description string VideoURL string } CreateIssue files the ticket. ValidateConfig checks credentials before you save — so you find out immediately if your token is wrong, not when you try to fi

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
1 views

Related Articles