RTC: Required fields red asterisks disappears when change the Type on the editor presentation
One answer
The issue is caused due to the "Required attributes" got ignored when there is any "Dynamic required attributes" is set in project area.
eg.
1. created OOTB scrum PA
2. "Attribute Customization" -> set a scripted based condition by using default example (always return true)
3. "Team Configuration" -> "Operation Behavior" -> "Save WorkItem" -> "Precondition" -> add "Required attributes for condition" -> setup the newly added condition associating with "Description"
Notice that by default "Defect" has two required attributes "Summary" and "Filed against" while "Task" has only "Summary" as required, after adding the scripted based condition, "Defect" should have 3 and "Task" should have two attributes being marked "Red asterisks"
4. create a new Task in FF and red asterisk found beside "Summary" and "Description" << Expected
5. change the type to "Defect" from editor and "Summary" , "Description" and "Planned For" are having red asterisks << Expected
6. type anything in any text filed, eg. "Summary" or "Tags", only "Description" has red asterisk, the other two disappeared << NOT Expected
2. "Attribute Customization" -> set a scripted based condition by using default example (always return true)
3. "Team Configuration" -> "Operation Behavior" -> "Save WorkItem" -> "Precondition" -> add "Required attributes for condition" -> setup the newly added condition associating with "Description"
Notice that by default "Defect" has two required attributes "Summary" and "Filed against" while "Task" has only "Summary" as required, after adding the scripted based condition, "Defect" should have 3 and "Task" should have two attributes being marked "Red asterisks"
4. create a new Task in FF and red asterisk found beside "Summary" and "Description" << Expected
5. change the type to "Defect" from editor and "Summary" , "Description" and "Planned For" are having red asterisks << Expected
6. type anything in any text filed, eg. "Summary" or "Tags", only "Description" has red asterisk, the other two disappeared << NOT Expected
This issue has been resolved in defect: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=280384 , which will be shipped with 4.0.5