Require Custom Field for Status Change?

Hello,

Does anyone have a suggestion about how I might go about requiring some set of custom fields to be filled before a status change can happen? We have a queue that I have on a custom lifecycle. In order to allow a transition from one status “user testing” to “resolved”, I want to require that two custom fields are filled out.

One way I think I can do this is to write a scrip that checks to see if these are filled out and then reverses the status change with an email to the person making the change. However, this isn’t very user friendly. Preferably, there would be a friendly error message on the screen stating that the fields were required for this status change. A validation on the fields wouldn’t make sense since they aren’t actually required until later in the workflow and as far as I know.

Thanks for your suggestions.

Mike

Does anyone have a suggestion about how I might go about requiring
some set of custom fields to be filled before a status change can
happen? We have a queue that I have on a custom lifecycle. In order
to allow a transition from one status “user testing” to “resolved”, I
want to require that two custom fields are filled out.

There’s actually an extension we’ve written to do this
(RT-Extension-MandatoryOnTransition), which is currently getting
polished. It should be released soon, if you can wait.

Hey Thomas,

Just wondering if there was any update / ETA on this extension. It
would help me resolve an issue I’m having right now.

Thanks,
MattOn Mon, Nov 5, 2012 at 1:47 PM, Thomas Sibley trs@bestpractical.com wrote:

On 11/05/2012 08:56 AM, Mike Kennedy wrote:

Does anyone have a suggestion about how I might go about requiring
some set of custom fields to be filled before a status change can
happen? We have a queue that I have on a custom lifecycle. In order
to allow a transition from one status “user testing” to “resolved”, I
want to require that two custom fields are filled out.

There’s actually an extension we’ve written to do this
(RT-Extension-MandatoryOnTransition), which is currently getting
polished. It should be released soon, if you can wait.

We’re hiring! Careers — Best Practical Solutions

Hey Thomas,

Just wondering if there was any update / ETA on this extension. It
would help me resolve an issue I’m having right now.

It’s still unpublished pending more work on it, but perhaps it should
just get shipped as-is and then updated later.

Thomas