Forums

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

issueFunction in subtasksOf does not work for a specific label "Skynet"

Yusuf Toprak May 3, 2019

Hi,

I have following problem. I want to filter for Subtasks which have parents (User Story) which have a label "Skynet". This does not work :-(.

with all other labels it works fine.

This is my example query:
project = "Test" AND issuetype = Sub-Task AND issueFunction in subtasksOf("labels = \"Skynet\"") AND Sprint = 1 ORDER BY Rank ASC

I have a lot of sub-tasks available, but I can not filter them.
And also it is not working for Quick Filters.

5 answers

2 votes
Andrew
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.
May 3, 2019

Hi @Yusuf Toprak ,

I think You not need escape ". Try subtasksOf("labels = Skynet")

I checked on my jira

issuetype = Sub-task and issueFunction in subtasksOf("labels = test")

B.R.

Christos Moysiadis
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.
May 3, 2019

When you apply complex JQLs try to create them step by step. You will have in hand more obvious results. 

Yusuf Toprak May 3, 2019

I did it step by step.

I also used it without escaping.

It seems that there is a problem with the name "Skynet", because with another label it is working. The query I m using is correct.

Christopher Jaksch
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.
May 3, 2019

Hi @Yusuf Toprak 

can you try in

  • subtasksOf('labels = \"Skynet\"')

Best wishes
Chris
STAGIL  

0 votes
Julian Mitchell May 15, 2019

Is ther' a simple way I can list all the Stories in my project that have a particular Subtask (by name), that hasn't been set to done

0 votes
Ben Poulson
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.
May 3, 2019

You might need to reindex your Jira instance

0 votes
Yusuf Toprak May 3, 2019

Hey Guys, 
I just removed the label from the parent and added it again. Now it is working fine.
I m starting crying now.

Christos Moysiadis
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.
May 3, 2019

It's funny how some things working or....not in Jira!!! :P Have a nice day then @Yusuf Toprak ! I think all of us appreciate your finding ;)

0 votes
Christopher Jaksch
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.
May 3, 2019

Hi @Yusuf Toprak 

additonally to @Andrew & @Christos Moysiadis I worry if "AND Sprint = 1" might be a problem.

Since multiple could have an existing Sprint with the exact same name "1" it might be possible, that you're filtering for the "wrong" sprint.

Could you try to use one of the two following statements instead

  • ...AND Sprint in openSprints()
  • ...AND Sprint in closedSprints()

to clarify if this might be your problem of not showing any results?

Best wishes and good luck on the jql filtering.
Chris
STAGIL

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events