Project

General

Profile

Actions

Defect #18823

open

Can't unassign user from issue when field is required

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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.

Actions #1

Updated by Tomasz Kowalczyk over 9 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".

Actions

Also available in: Atom PDF