Using jira ondemand, how can you find / query issues having sub-task with specific label

The query I would like to do is...

has subtasks where subtask-labels ="mylabel"

I actually need a few more conditions, but cannot find the syntax for interrogating sub-tasks/issues.

thanks in advance

1 answer

jql should be able to do the magic

issue-type = ${you_name_it} and labels = "${you_name_it_again}"

i don't think script runner plugin works for ondemand installs....but this has nice scripted jql functions such as

https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions

thanks, but doesn't really deliver what we need.

to expand on requirement, i need to find all issues where an sub-task with specific label has recently been resolved. From what I've seen this is not going to be possible with on-demand?

for script runner to find issues with subtasks that have labels it would be:

issueFunction in parentsOf("labels in ('XYZ'))

but no it doesn't work for OD.

If there really isn't any way I can quert this then I think I may have to look at installed version.

I have a linux server that I could use to host Jira locally - is it a straightforward installation? can you move from OD to product install license easily?

Relatively straightforward to install yes, and Atl will give you a backup of your database to restore. But don't forget to take in to account the time you will need to spend in future doing upgrades etc.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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