The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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.