How to make a a field mandatory only on certain screens

How to make a a field mandatory only on certain screens

2 answers

1 accepted

1 vote

You don't. 

You make it mandatory on certain transitions in the workflow - add "validators" to the transitions to force users to enter it.

Hi Nic, this could be the way, but how can I add such a validation? I only see the following validation type: - Complete Session Validator Validates that all JIRA Capture test sessions related to this issue are complete. - Permission Validator Validates that the user has a permission. - User Permission Validator Validates that the user has a permission, where the OSWorkflow variable holding the username is configurable. Obsolete. None of them seems to be the one I'm looking for.

Hi Davide, AFAIK the JIRA Suite Utilities plugin has a 'Fields mandatory' validator. Just install the plugin and check the validators on your transition again.

Hi Matthias, thank you very much: using the plug-in I got it! BTW: using the same plugin I see it's possible to set a value into custom fields, but I'm not able to do that with user fields (for example "request partecipiant" ), even if they are listed among the custom fields. Did you have the chance to do that? Thanks and regards

Davide, what exactly are you trying to do? You're talking about the 'Update Issue Custom Field Post-Function'? I never used that post function. But if you post a separate question with the exact configuration you have, you will sure get an answer here.

You can make a field mandatory for certain issue types using field configuration scheme.
If each issue type use a different screen, you will have field mandatory in your respective screens.

 

Er, the field will need to be entered during issue creation then, and you won't be able to blank it out. I don't think that's what is required here.

My problem is that, for the SAME issue type, I need to have the field mandatory when managed by the agents, but not mandatory during issue creation by the customers. I'll try to follow the suggestion of Nic and use the validators in the workflow transitions

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 17m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

3 views 0 2
Read article

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