You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Need some help
In my JIRA ticket I have a field called Reviewers.
I am looking for a JQL for changing the card color in the Sprint Board Settings as per the number of users added in the Reviewers field
Condition for JQL:
If 3 users are added in the Reviewers field, the card color should be Red
If 2 users added in the Reviewers field, the card color should be Blue
If 1 user added in the Reviewers field, the card color should be Green
If no user in the reviewers field, then no card color.
Is this possible to achieve via JQL or any other way?
Welcome to the Atlassian Community!
You can't do this with JQL alone, it doesn't count things. You can script something to enable it though - what you need is a custom field with "reviewer count" in it, so your script should trigger on issue edit, look at the reviewers field and put the count into the field.
Then your JQL for card colours would be "reviewer count = 1", "reviewer count = 2" and "reviewer count > 2"