We have a workflow where an issue ticket is created in Linear. The cursor agent listens for a webhook from linear and then begins its run. It investigates to find the root cause of the issue and suggests a fix. It posts it’s findings back on the linear ticket as a comment.
The problem I’m having is how to have a url in the posted linear comment that allows devs to open up the automation run if they need to have more back and forth in the chat. We have a similar process in Slack and all the messages from Cursor are ended with “Open in Web”, so it’s really easy to open up the conversation and continue it. However it doesn’t seem to do this when posting back to linear.
I tried editing the prompt to tell it to include a link to the automation run but I don’t think the agent has those details at run time, so it just links to the generic Cursor Automations homepage.
This is making our automation not very helpful as often a bit of back and forth between the developer is needed.