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,554,186
Community Members
 
Community Events
184
Community Groups

How to color a card based on if it has subtasks of a certain status.

I've been struggling with what I think should be a simple task.  Color a card based upon if it has subtasks of a certain status.

I have tried a whole host of various Googling/Stack Overflow/Atlassian Answers and have yet to figure this out.  Any help would be much appreciated.   

These are some of the attempts that have failed:

  • issuetype = "Story" and issueFunction not in hasSubtasks()
  • issue in issuesWithRemoteLinksByGlobalId("SubTaskId")
  • issueFunction in subtasksOf("status = COMPLETED")
  • parent = issuekey

This is likely a simple issue but I'm new to JIRA administration and help would be much appreciated.

3 answers

1 vote
Aylin Kohls
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 07, 2016

 

Hi JT

I believe is not possible with raw Jira, but I use an addon (JQL tricks plugin) that has a special function you can apply to issue field (issue in subtaskIssuesFromFilter(savedFilterId)) 

Good luck!

 

1 vote
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 07, 2016

There's no such a built-in function that returns all issues that have at least one subtask. So, issues that have any subtasks under certain statuses doesn't exist either.

 

You may achieve it with a third party plugin, though . 

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 07, 2016

Look for Script Runner for JIRA Cloud in the Atlassian Marketplace.

Is there functionality to determine if an issue has subtasks at all? 

Hi @ all,

I use the following command to color a card if it has subtasks:

issueLinkType = "is parent task of"

You might combine it with any other command to further specify your request.

Best regards, Birdy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events