Hello!
I am trying to return all issues from epics in one of my projects that have a specific label. The following doesn't work:
status not in (Closed, Done, Resolved, Dev) AND "Epic Link" in (project = ABC AND labels = XYZ)
I am getting a syntax error:
Error in the JQL Query: Expecting ',' or ')' but got '='. (line 1, character 73)
I have a filter that returns the Epics, but using"Epic Link" in (Filter = 12345) doesn't work either. Get the same error message as above
PS: Is there a easier way to identify character 73 without sitting here counting characters?
"Epic Link" in (labels = XYZ) is not valid JQL therefore your clause "Epic Link" in (project = ABC AND labels = XYZ)
I'm not sure how to combine a filter with the epic link search.
Looking through other community posts it looks like this may not available out-of-the-box. If you have Scriptrunner installed you will have additional JQL options but have a look through this post as it gives a few suggestions.
I cannot check these for you as my JQL field uses the extra options provided by apps installed in my instance which may not match what you have available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Kat! From the post you linked, this worked for me. I really appreciate it.
issueFunction in linkedIssuesOf("filter = '12345'", "is epic of") AND status not in (Closed, Done, Resolved, Dev)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I try to do this but I get the error "Could not find any issue link type having either inward or outward description : is epic of" Remove argument to search all link types ...etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update:
This worked: issueFunction in linkedIssuesOf("filter = '123456'", "is epic of") AND status not in (Closed, Done, Resolved, Dev)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ragni Jayanthi -- Welcome to the Atlassian Community!
JQL is not a SQL, so the syntax you noted cannot work with out of the box Jira:
..."Epic Link" in (project = ABC AND labels = XYZ)
To do what you ask with out-of-the-box Jira, you would need to find the epics first, and then create your own CSV list to find the remaining issues, in two steps:
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the welcome Bill! The post Kat linked to below helped with what I was trying to do.
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.