Skip to content

Commit

Permalink
Merge pull request #2219 from saithsab877/fix-ticket-editor-stakwork-…
Browse files Browse the repository at this point in the history
…link

Fix: Stakwork Link Display in Ticket Editor Component
  • Loading branch information
humansinstitute authored Dec 18, 2024
2 parents 2b94aef + 60004bf commit 0ad26c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion handlers/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,12 @@ func (th *ticketHandler) PostTicketDataToStakwork(w http.ResponseWriter, r *http
SourceSessionID: ticketRequest.Metadata.ID,
Message: fmt.Sprintf("https://jobs.stakwork.com/admin/projects/%d", stakworkResp.Data.ProjectID),
Action: "swrun",
TicketDetails: websocket.TicketData{},
TicketDetails: websocket.TicketData{
FeatureUUID: ticketRequest.Ticket.FeatureUUID,
PhaseUUID: ticketRequest.Ticket.PhaseUUID,
TicketUUID: ticketRequest.Ticket.UUID.String(),
TicketDescription: ticketRequest.Ticket.Description,
},
}

if err := websocket.WebsocketPool.SendTicketMessage(projectMsg); err != nil {
Expand Down

0 comments on commit 0ad26c4

Please sign in to comment.