Defect #18823

Can't unassign user from issue when field is required

Added by Tomasz Kowalczyk over 6 years ago. Updated over 6 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:2.6.1

Description

I have set up a workflow, part of which is the status transition:

  • Confirmed (field "assignee" read-only and empty) -> Assigned (field "assignee" required),
  • Assigned -> Confirmed (same field constraints).

My idea was to restrict Assignee change only in transition to status Assigned. Sometimes developers take issues that are not meant to be taken. We have "Not assigned" project version, "Platform" category and tracker "Info", if either of them is set an issue is considered just for information (subtasks status, etc.), not to be acted upon.

The problem is that I can't unassign them and go back to status Confirmed because when I do that only status changes, Assignee remains set (field disappears after selecting Confirmed status from <select>). In Confirmed status I can't unassign user because field won't show up or Redmine will complain of field being read only.

I think that not unassigning user looks like a bug, but maybe I'm unaware of achieving desired result.

History

#1 Updated by Tomasz Kowalczyk over 6 years ago

This question can be reframed as "how to clear issue field when going from status that requires it to status that has it marked as read-only".

Also available in: Atom PDF