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.

Issue status depending on the tracker's value

Added by paul young at 2012-06-20 02:00 pm

Hi,

I wonder if it's possible to have different values of the Status depending on the value selected on the Tracker field.
For instance:
for the value "bug", i have the list : new, in progress, resolved, feedback, rejected
for the value "request", i just want to have : new, in progress, pending, rejected,validated
thanks!


Replies (10)

RE: Issue status depending on the tracker's value - Added by paul young at 2012-07-24 05:42 pm

Is there anyone who has a similar need?
it is really useful to me!

RE: Issue status depending on the tracker's value - Added by Felix Schäfer at 2012-07-24 05:46 pm

Sorry, I totally overlooked your question. There's already the workflows for that, workflows allow you to define what transitions (change from one issue status to another) are available to users with a certain role for a given tracker. You can configure those in the global administration.

RE: Issue status depending on the tracker's value - Added by Holger Just at 2012-07-24 05:48 pm

You can not only set the list of available statuses for each tracker, but for each combination of tracker, old status, and role of the user changing the status.

For that, you have to edit Workflows which you can find at More -> Workflow. There you can edit the allowed status changes for each tracker and role.

Note that when creating a new issue, it will have the default status of the tracker (which is configured at More -> Trackers). Thus, the initial set of available statuses for a new ticket are all those that can be reached from the configured default status for that tracker.

RE: Issue status depending on the tracker's value - Added by paul young at 2012-07-25 12:09 pm

thanks for your help! i will look deep into the workflow

RE: Issue status depending on the tracker's value - Added by paul young at 2012-07-26 03:42 pm

it's really a great feature and works well apart from my remark below:

Holger Just wrote:

Note that when creating a new issue, it will have the default status of the tracker (which is configured at More -> Trackers). Thus, the initial set of available statuses for a new ticket are all those that can be reached from the configured default status for that tracker.

in issue statues, there's only one default status for all trackers.
So if i create a new tracker "Project management" and I'd like the default value to be "requirement" then all my other trackers would have "requirement" as same default value which i don't want.
Am I missing anything?

RE: Issue status depending on the tracker's value - Added by Felix Schäfer at 2012-08-12 03:54 pm

paul young wrote:

in issue statues, there's only one default status for all trackers.
So if i create a new tracker "Project management" and I'd like the default value to be "requirement" then all my other trackers would have "requirement" as same default value which i don't want.

From the sound of it "Requirement" would be the tracker rather than "Project management".

Anyway, there is indeed only one default for all trackers, I can't remember the behavior when the default status isn't settable for a particular tracker, it might just use the next one in the list then, that might be a workaround for you.

RE: Issue status depending on the tracker's value - Added by paul young at 2012-08-14 01:14 pm

this means i have to define a transition from a status that desn't apply to the selected tracker to the real default status.
this sounds pretty inconsistent..

RE: Issue status depending on the tracker's value - Added by Felix Schäfer at 2012-08-21 06:04 pm

paul young wrote:

this means i have to define a transition from a status that desn't apply to the selected tracker to the real default status.

I'm not sure I quite get what you're saying. Anyway, my suggestion was more of a shot in the dark rather than knowledge that it works that way.

this sounds pretty inconsistent..

Could you open a bug or feature request to describe what you'd expect? Thanks!

(1-10/10)