giddie / redmine_default_assign

Redmine ticket #482:Default assignment setting -- converted to a plugin and then extended.
Other
34 stars 26 forks source link

Take category assignee into account in interactive mode #30

Open majkinetor opened 8 years ago

majkinetor commented 8 years ago

I thought interactive mode will solve this, but it still happens -> default assignee will overwrite default category assignee.

giddie commented 8 years ago

Yep, good point. I guess the category assignee is applied after the plugin's hook is called.

majkinetor commented 8 years ago

Category assignee is never visible until you commit the issue. This plugin sets it up ASAP. In my company this makes it unusable since every project has bunch of categories with default assignees and we wanted to use default one only if category is not specified or it doesn't have a default assignee itself.

giddie commented 8 years ago

Can you explain in more detail what you mean when you say "this plugin sets it up ASAP"?

majkinetor commented 8 years ago

I mean the assignee is visible as soon as you click New Issue. Contrary to that assignee is empty with category defaults and becomes visible once you save it

giddie commented 8 years ago

Have you tried changing the "interactive" option in the settings for the plugin?

majkinetor commented 8 years ago

Yup, nothing changed.

giddie commented 8 years ago

OK, so just to clarify: you're saying that the assignee is filled in already when the "New Issue" form is shown?

majkinetor commented 8 years ago

Yes.

majkinetor commented 8 years ago

My bad. I rechecked again and it works with "non interactive" settings. With interactive it doesn't.

giddie commented 8 years ago

OK, good. I'm not going crazy then :p

giddie commented 8 years ago

I'll leave this open to look into how easy it might be to account for category assignees in interactive mode.

majkinetor commented 8 years ago

Thx for your help