Required Fields are not being enforced when moving to a new issuetype

Dawn Cooper November 9, 2017

We are using Behaviors to make several fields required on some issuetypes in one project. We you move a ticket from one issuetype to another these required fields are not enforced. For example, issuetype A does not have the some of custom fields that issuetype B has. Some of these additional custom fields are required on issuetype B. When the issue is moved from type A to type B, the wizard does not give the option to define these additional fields, regardless if they are required on issuetype B or not. How do I fix this?

2 answers

0 votes
Dawn Cooper November 13, 2017

And  thanks Nic! good to hear from you :)  

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.
November 9, 2017

This is because Behaviours are not making fields required as far as Jira is concerned.  They tell the browser to do it, not the server.

There's nothing you can do about this, the fields are not really mandatory.

Dawn Cooper November 13, 2017

oh, we used behaviors since we had trouble making a field required on one screen but not another within the same project. Users would get an error stating the field was required but it was not on the screen. We were trying to use the field configuration screen then to make a field required.  Any suggestions?

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.
November 13, 2017

I'm afraid not.  The "move" function has nowhere to hook custom field checks into it - it only looks at the field configuration for the target issue type, and provides no insertion point for any code.

Satya Boddu May 1, 2019

Hi Nic,

Will this be the same result if we move a ticket from say, project A to Project B?

Suggest an answer

Log in or Sign up to answer