Cloud Agents triggered from Jira do not route to configured environments

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Cloud Agents triggered through @Cursor comments in Jira fail to route to an environment, even when explicit routing rules map to that environment.

Steps to Reproduce

  1. Add a routing rule that maps to a Cloud Agent environment.
  2. Trigger Cursor through a Jira comment with a request matching that rule.

Expected Behavior

Cursor selects the mapped environment and starts the agent.

Operating System

MacOS

Version Information

This is about Cursor Cloud Agents

Additional Information

Cursor fails to resolve the repository/environment and responds:
“Cursor couldn’t determine which repository to use for this Jira request.”

The environment routing works when triggered from Slack.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @badarinath_reddy, you can get Jira agents into the environment by making it your default:

  1. In the Cursor dashboard, go to Cloud Agents → Preferences.
  2. Set Default repository or environment to your environment. Use your personal preferences if your Jira site has Require individual authentication on; otherwise a team admin sets it in the team preferences.
  3. Mention @Cursor in a Jira comment again, without repo=.

This works best when most of your Jira work goes to that one environment. Routing rules that target an environment aren’t applied from Jira yet; that’s an issue we’re tracking, and I’ll post here when there’s an update.

Hi Mohit,
Thanks for the reply.
But as stated, my problem was not with default routing rule.
We wanted the agent to pick up the environments dynamically, according to the JIRA comments.
But as you stated that’s an issue you are tracking,
will we be waiting for it to get fixed.

Thanks.

Yes, exactly. Dynamic environment routing from Jira comments isn’t applied yet, and it’s an issue we’re tracking. I don’t have a timeline to share, but I’ll post here the moment that changes. The default-environment setting is the only interim way to get Jira agents into the right environment for now, even though it isn’t the per-comment routing you’re after.