Is there a way to specify a specific project in a commit message?

I have two projects: FoamFactory and Aegir. My repository is a monorepo, so the git hooks are attached to both projects. That is, whenever I specify in a commit message something like:

TG-142 #done

It will move TG-142 to the “done” state. This is working as expected.

However, one issue I have is that because the project name isn’t specified in the commit message, it will move both FoamFactory#142 and Aegir#142 (assuming they both exist) to the DONE state. What I’d really like is to be able to specify a project in the commit message, something like:

AG-142 #done

And have it only move the Aegir ticket to the DONE state. Is this possible? I am using Taiga 6.0.1, so perhaps it’s time to update to a newer version?

Hi @jwir3,

There’s no way to do this, in this current version (I hope we can include it in the future), but maybe this workaround will work: set different slugs for the same status in each project.

For example, use #ff-done to close stories in “FoamFactory” and #ag-done to close stories in “Aegir”.

I hope this can help

Best regards

1 Like

Thanks @david.barragan. I’ll try that workaround. I didn’t even think of that!

3 Likes