JIRA gives me an error when I try to run this query:
project = BNM AND issuetype in (Bug, "User Story", "Technical task", "User Story Bug") AND subtasksOf(((status != Backlog AND Type = "User Story") OR type != "User Story"))
The error is as follows:
Error in the JQL Query: Expecting operator but got '('. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 102)
We're running a downloadable JIRA (v6.1.6). I've checked the add-ons page in the admin console and it indicates that Scriptrunner v2.1.16 is installed, 1 module is disabled:
Resource to add View in Navigator to sprints on the rapid board (ghShowInNavigator)
Hey Johan.
So it should look something like this
project = BNM AND issuetype in (Bug, "User Story", "Technical task", "User Story Bug") AND issueFunction in subtasksOf('((status != Backlog AND Type = "User Story") OR type != "User Story")')
Thank you Andrey! This works perfectly now. I wish the documentation for scriptrunner would make this clear too, but at least now the answer is on here.
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.