Welcome to the Jazz Community Forum
How to force a resolution choice when using Developer's Taskboard?

In the developer's Taskboard, it's really easy to close out work items - just drag them to Done. Problem is, this sets the "Resolution" field of Defects to whatever the default is. Is there any way to force someone to choose a resolution? Or block them from marking something Done without also setting a resolution? Is there perhaps some clever way of using a pre-condition to solve this?
One answer

Hello Mike,
I would use condition and pre-condition here
https://jazz.net/library/article/1003
condition: write a javascript that will check resolution based on status and will allow only the values you want
precondition: in operation behavior - save work item - add "Required Attributes For Condition" and use the condition you just created
Expectation is that error will be thrown and save aborted if resolution is not correct for resolved status.
Hope it helps,
Eric