Complex Groovy JQL subtasksOf(parentsOf())

Hi

I would like to display in JIRA Agile a task and all its subtasks, in case a person is assigned to one of these subtasks.

I'm trying to run on JQL something like that

issueFunction in subtasksOf("issueFunction in parentsOf("assignee = currentUser()")")

But it seems I cannot combine subtaskOf(parentOf)

Any idea how to achieve my query ?

Cheers

4 answers

1 accepted

This widget could not be displayed.

Hi Jamie

I don't know what happened / changed in my configuration, But I did not get the error message anymore since this week

This widget could not be displayed.

Works fine, you just can't nest double-quotes like that. Using single quotes for the inner query.

issueFunction in subtasksOf("issueFunction in parentsOf('assignee = currentUser()')")

This widget could not be displayed.

Hi Jamie

 

Thank you for your answer - Sorry I wasn't clear in my initial request: indeed I've written with single quotes as you proposed

issueFunction in subtasksOf("issueFunction in parentsOf('assignee = currentUser()')")

But as return, I got the following error

com.atlassian.jira.jql.parser.antlr.RuntimeRecognitionException

Yoann

What version of jira and the plugin? Works fine for me.

This widget could not be displayed.

Hi Jamie

I use JIRA OnPremise v6.2.3

And the version of the script runner plugin?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

139 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you