Forums

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

How to determine the value of drop-down options and compare strings

zhaoyawei April 27, 2018

How to determine the value of drop-down options and compare strings

2 answers

0 votes
Gezim Shehu [Communardo]
Community Champion
April 27, 2018

I'm writing here so it can be more visible.

What you are asking, imo requires logic and such I have a couple of suggestions in case you are using Script Runner:

 

1-Use Behaviours

You can create a custom behavior for the first field and set the 2nd one as required in case the 1st empty or else.

 

2-Use a Validator Post Function

Run script to check for the required values and logic.

zhaoyawei April 27, 2018

thanks

0 votes
Gezim Shehu [Communardo]
Community Champion
April 27, 2018

Could you further explain the situation?

Like where, when you need to do this?

zhaoyawei April 27, 2018

Whether to apply for a project manager has a drop-down option with application and no application fields. When selecting the application field, the project manager field can be empty; when selecting the non-application field, the project manager field is required.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events