Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

populating text field based on the drop down values

Hi,

 

I'm having a custom field of text type converted to multi select using behviour. We have a requirement where we need to populate a text field based on the selected value from the drop down.

 

Kindly advise on how to achieve this.

1 answer

0 votes
Leo Community Leader Dec 18, 2019

Hi @Gowri_Sankar ,

you can achieve this through Behaviour, below script may help you.

you can't populate instead you can make it hidden and visible based on the selection

def field = getFieldByName("Select List")
def cf = getFieldByName("Field to be hidden")
cf.setHidden(true)

def val = field.getValue()
if(val == "something"){
cf.setHidden(false)
}

 

BR,

Leo

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,376 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you