Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to map a screen schemes to a field

chee cong lok
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!
March 5, 2019

Let say I have a issue type: Bug

Inside the issue I have two fields:

  1. Bug Type
  2. Customer

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.

1 answer

1 vote
Josh Carolan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 5, 2019

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.

chee cong lok
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!
March 5, 2019

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?

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 Leaders.
March 6, 2019

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.

Like chee cong lok likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events