Page 1 of 1
uniqueness on custom field between bugs not closed
Posted: 19 Jan 2009, 11:33
by duwil
I need to validate a custom field that must be unique between the open issues, I mean that when you cannot open a new issue if there is already another issue not closed that has the same value in that custom field. Is that possible?
---
Re: uniqueness on custom field between bugs not closed
Posted: 29 Jan 2009, 14:44
by jb_mantis
This is not possible out of the box and would require custom code. You would need to find the function that is called when someone tries to submit a new bug and you would need to add a function call to it that will check the submitted custom field value and see if there are any unclosed issues that already have that same value, and if so, cause the submission to fail. Not sure where to point you to start as I don't do custom coding in Mantis.