Hi,
Doing project automation in Jira.
My data model looks like this:
Initiative
|
-------|---------
Epic Epic
| |
---------- -----------
| | | |
Story A Story B Story C Story D
Have an automation use-case that requires traversing from Story A or B, up to Initiative, and then down to Story C or D.
This requires four nested issueFunctionOf statements. My personal record until now was a triple-nested statement. Since the nested queries are used in project automation, and it is the inner JQL statement that controls the query, I do not have the option to use nested filters.
I searched through the documentation and found examples only of double nested statements using double- and single quotation marks. This forum helped me get three nested levels under my belt using \".
This is my JQL statement:
issueFunction in issuesInEpics("issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf(\"issueFunction in epicsOf(\'key= BEAM_OVP-9852\') \") ') ")
In above example I tried using the following hierarchy:
But that does not work.
This leaves me with two questions:
Hi @Jimmy Petersson ,
I tried a few, this one doesn't error out among the others:
issueFunction in issuesInEpics('issueFunction in linkedIssuesOf(\'issueFunction in linkedIssuesOf("issueFunction in epicsOf(\\\'key= BEAM_OVP-9852\\\') ") \') ')
Although pretty sure it can be improved a bit but the triple backslashes seem to do the trick 🙂
//Radek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a beast of a query. Thank you Radek, my hero.
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.