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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,461,809
Community Members
 
Community Events
176
Community Groups

Changing the Card Color in Active board

Hi Guys..

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?

 

3 answers

1 vote

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"

0 votes
John Funk Community Leader Nov 07, 2022

Hi @usman_malik  - Did the responses answer your question? 

0 votes
Dave Mathijs Community Leader Apr 12, 2022

Hi @usman_malik welcome to the Atlassian Community!

Although I don't think you can achieve your requirement without scripting, you can add the Reviewers to your card if that helps.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events