Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields

Sabrina IDIR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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