Forums

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

Field opens dependent on another field selection

Dave Hattig
Contributor
October 31, 2020

Hi,

We have a customer field that is on a lot of projects but not all. The ask is for the following.

If the customer field is on a project and a client is selected, we want another field to pop up with more mandatory options to choose from.

In N/A is selected from the customer field, no other fields are required.

 

How would I go about setting this up? And thank you in advance for any help!

 

3 answers

0 votes
Kate Caldecott
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2020

Hi @Martin Bayer _MoroSystems_ s_r_o__ 

You could consider using a marketplace app.  For example, ProForma (or ProForma Lite) allows you to show or hide fields using conditional logic, which should meet your needs. 


The GIF below shows how conditional logic can work on a form (I made it for a slightly different question, but it seems relevant enough here).

 

gif conditional logic.gifI think it might work for you but note ProForma form templates are at a project level.

 

Regards,

Kate

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 31, 2020

hi @Dave Hattig  would not be native Cascading select sufficient? I didn't find documentation for this type of field but it is described here: https://blog.servicerocket.com/adoption/blog/2014/04/jira-tips-cascading-select-fields

And it is mentioned here: https://confluence.atlassian.com/adminjiraserver/configuring-a-custom-field-938847235.html (find on page "cascading")

Dave Hattig
Contributor
October 31, 2020

Unfortunately, I don't think cascading will not work for my use. 

Unless with Cascading I can set two options like this.

Field name 'Customer'

Default option = N/A 

          No choices available to select

Second option = Client

          Choices available to select and it's mandatory to choose one.

 

Yea after typing this, I know that won't work. I think I will need to look at scripting it like Yevgen suggests. Not sure where to start with that though. Thank you for your thoughts.

0 votes
Yevgen Lasman
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.
October 31, 2020

You need one of the plugins which provides scripting in Jira. For example, you can use Power Scripts and its Live Fields functionality to create such fields behavior.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events