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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Best way to compare select list values using the JMWE App using a validator


I'm trying to find out the easiest way to create a validator that will compare the values of two select lists, single choice to ensure they don't have the same value.

I'd think something like this would work, but it doesnt work the way I'd expect it to.  I'm using JMWE for this.

issue.customfield_10619.value != issue.customfield_10620.value


1 comment

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 01, 2021

Hi @Daniel Burris ,

in what way does it not behave as expected?

I can see a problem in the script, if any of the two fields has no value, but is there a problem beyond that?

Try this:

issue.customfield_10619 == null && issue.customfield_10620 != null
|| issue.customfield_10619 != null && issue.customfield_10620 == null
|| issue.customfield_10619 != null && issue.customfield_10620 != null && issue.customfield_10619.value != issue.customfield_10620.value

This seemed to work. Thanks!


Log in or Sign up to comment