mirror of
https://github.com/rickbarrette/redmine_auto_assign.git
synced 2026-11-17 11:30:36 -05:00
- Runs after the time entry is committed, on a fresh copy of the issue: a problem updating the issue no longer rolls back the logged time or interferes with the issue edit form saving the same issue - Only assigns the time logger when they can be assigned in the project - Only changes status when the workflow allows it for that user (checked after assigning, since assignee rules can allow more) - Records the change in the issue history under the time logger, with a short note, so watchers see it - Settings for the starting and target statuses; defaults are each tracker's default status and a status named "In Progress", so renaming "New" no longer breaks it - Update failures are logged instead of raised; declares Redmine 6.1+ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
18 lines
986 B
ERB
18 lines
986 B
ERB
<div class="box tabular">
|
|
<p>
|
|
<label for="settings_starting_status_id"><%= l(:label_auto_assign_starting_status) %></label>
|
|
<%= select_tag 'settings[starting_status_id]',
|
|
options_from_collection_for_select(IssueStatus.sorted, :id, :name, settings['starting_status_id'].to_i),
|
|
include_blank: l(:label_auto_assign_tracker_default), id: 'settings_starting_status_id' %>
|
|
<em class="info"><%= l(:text_auto_assign_starting_status) %></em>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="settings_in_progress_status_id"><%= l(:label_auto_assign_in_progress_status) %></label>
|
|
<%= select_tag 'settings[in_progress_status_id]',
|
|
options_from_collection_for_select(IssueStatus.sorted, :id, :name, settings['in_progress_status_id'].to_i),
|
|
include_blank: l(:label_auto_assign_named_in_progress), id: 'settings_in_progress_status_id' %>
|
|
<em class="info"><%= l(:text_auto_assign_in_progress_status) %></em>
|
|
</p>
|
|
</div>
|