ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Automatic workflow based on repos branch and time.

Added by Norbert Melzer at 2012-12-11 02:39 pm

Hi there!

I have a git-repo and I am using commit messages to control the ticket-flow.

As it is now "FIX #Issue" will set it to 100% and "resolved".

After merging it to master I set all the "resolved" issues to "feedback" manually and 7 days later I close the issue if there were no further comments.

The master branch is considered to be identical with the deployed web-app.

So I would appreciate if I could achieve the following behaviour:

1.) FIX on develop or any other branch exept master should set status to "resolved" and 100%.
2.) FIX on master, or merging a fix from any branch to master, should set status to "feedback".
3.) 7 days after an issue is set to feedback it should change status to "closed" if it hasn't been reopened (set to any status below resolved) by a developer or manager.

Is this possible or do I have to implement this behaviour through an external script that uses the API/fiddles directly with the database?

Thanks in Advance
NobbZ


Replies (1)

RE: Automatic workflow based on repos branch and time. - Added by Holger Just at 2012-12-14 11:58 pm

As already said on IRC, this is not possible out of the box right now and looks a bit too specific to be patched into the core.

However, it should be possible to implement such a workflow using a custom post-receive hook in your Git repository which calls the API.

(1-1/1)