It's all about the answers!

Ask a question

How to force a resolution choice when using Developer's Taskboard?


Mike Shkolnik (9809161143) | asked May 13 '14, 6:10 p.m.
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



permanent link
Eric Jodet (6.3k5111120) | answered May 14 '14, 4:27 a.m.
JAZZ DEVELOPER
 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



Comments
sam detweiler commented May 14 '14, 6:20 a.m.

No. That drag/drop gesture will not prompt.

And u cannot tell this event is caused by a d/d operation.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.