Hi,
I'm looking for some JavaScript to make a field mandatory, similer to other mandarory fields in JIRA.
I have a field that needs to be mandatory, but this field's content (and data) will change depending on the context. I'm actually talking about three custom fields of different type with the same name. Depending on the context selected, depends on which custom field is displayed.
Context: X, Y, Z
X-> display db values custom field (pointing to db1)
Y-> display dropdown custom field
Z-> display db values custom field (pointing to db2)
Field displayed/name as 'Project' and needs to be mandatory, no matter what the context. So I'm looking for JavaScript to show the field depending on context (use selected) and made it mandatory.
Any suggestions or help appreciated.