Let say I have a issue type: Bug
Inside the issue I have two fields:
Inside the field 'Bug Type', there is two options: Bug A and Bug B.
If I choose Bug A, I want to force user to fill in 'Customer' field; if choose Bug B, 'Customer' field is not compulsory.
How could i do that, do I need a third part plug in or it is doable in Jira default function?
Please help, thanks.
This is not do-able out of the box in jira as far as I can tell unless you make Bug A and Bug B two different issue types, which is what I would recommend here. They may both be types of 'bugs', but if they have different field requirements, in Jira you should treat them as different issue types.
Hi @Josh Carolan , thanks for your reply.
I aware this can be done if we set Bug A and Bug B as different issue type.
However, if I insist to stick to the requirement, what option can I have? Could you recommend any third party plugin that can make this work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need the Behaviours module in Scriptrunner to be able to do this (but be aware that it is client-side, so users can bypass it, and REST ignores it)
A better approach is what Joshua recommends - two separate issue types that work differently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.