Hello, I'm trying to search for subtasks of issues with certain criteria. The criteria I want to search for contain custom fields with spaces, so I need to use quotation marks, however JIRA interprets this as finishing the 'subtasksOf' statement. Is there a different way I can write the query, without using a plugin?
Example:
issueFunction in subtasksOf("project = PRJ AND issuetype = Story AND status not in (Closed) AND component in ("Salesforce Service Cloud")")
Hi there,
Try this:
issueFunction in subtasksOf("project = PRJ AND issuetype = Story AND status not in (Closed) AND component in (\"Salesforce Service Cloud\")")
So you should use \" to escape that character.
Best Regards.
I agree with @Deniz Tımartaş but you could also reference filters inside filters
Create a first filter with project = PRJ AND issuetype = Story AND status not in (Closed) AND component in ("Salesforce Service Cloud") and check the ID on the URL
Ater that create a second filter issueFunction in subtasksOf("filter = 123123"). Replace 123123 with the ID of the previus filter.
If the filter get's more complex it's simpler to use this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked! Thanks a lot both!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.