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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,858 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you