FS#2208 - Severity "medium" by default
Hi,
Where i can change severity and priority by default?
I want change severity to “Medium” by default for group Basic
I cant find this option in the Flyspray settings.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I fear there is no Flyspray setting yet for configuring preselected defaults for severity and priority based on user permissions (global+project group).
Examples for Flyspray v1.0-rc1:
What you can do is modifying the themes/CleanFS/templates/newtask.tpl
and replace
with
Setting default values based on the calculated permissions based on the user's groups (global group + project group) is possible by enhancing the template, but it is not a Flyspray core feature.
A possible approach could be to check for a specific user permission, in this example I choose the 'manage_project' permission:
Keep in mind that you loose such customizations of themes/CleanFS/templates/*.tpl when upgrading Flyspray.
Note for FS developers: There are some defaults too defined in includes/class.backend.php in function create_task() too, that are used when the submitted form or API request does not contain some properties.
And for the cases where create_task() doesn't set values for the SQL INSERT, the database table field defaults are used (0 for task_severity currently).
peterdd, Thank you for your help