Custom fields

Sabrina IDIR April 20, 2016

Hello,

I created a new custom field and I would like to make it a required one but only for the assignee.

Is it possible ?

 

Thanks,

Sabrina IDIR.

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 20, 2016

Not directly - fields are made mandatory on an issue type basis, not assignee.

But you can add a validator to enforce it in the workflow.  Two options:

  • if you have access to one of the scripting add-ons, or can find an add-on which can do it, then the code for "if currentuser = assignee then check that field is filled before progression"
  • If not, then you could have two transitions - one only for "assignee" and the other for "everyone else", and put a simple "field is filled" validator on the assignee transition

I think you can also do it with the Behaviours functions in the script-runner, but that could be bypassed by someone if they try.

Suggest an answer

Log in or Sign up to answer