Base branch setting in cloud agents is ignored in Linear

I am trying to invoke Cursor agent from Linear.

I have specified the base branch to be dev in the cloud agents settings in the cursor dashboard settings.

I have a repo tag configured in linear to specify the repo the agent should be working on.

When a task is assigned to the agent, the agents starts working on the correct repo based on the repo tag but ignores the base branch setting and works on the default branch instead.

Does anyone know how I can fix this?

Hey @spst!

Thanks for reporting this. Looks like there’s a bug where the base branch configured in the settings is never consulted.

You can workaround this by adding [branch=dev] when you invoke the agent, but I’ll also file a bug with the team.

Thanks for sharing a workaround! Just to be sure - should [branch=dev] be passed as a tag or specified in the issue description? Cheers!

You’ve got a couple of options! But above, I was referring to the issue description/comments.

Great! Thanks!

1 Like