Hi,
I was trying to get siblings issue's subtask within an epic where one of the sibling(linked with epic) status change will find sibling's subtask. And change transition to done.
Here's the jql I'm trying, but it's not working with smart values inside jql.
filter1 =
"Epic Link" in (epicsWhereIssueIn("issue = '\"{{issue.key}}\"' ")) AND status in ("custom-status", "another-status")
JQL ->
issue in parent("filter = filter1")
It's not working with smart values , e.g: {{issue.key}} - transition sibling issue key.
But when I'm trying with plain jql. e.g:
filter1 =
"Epic Link" in (epicsWhereIssueIn("summary ~ '\"some static matched summary\"' ")) AND status in ("custom-status", "another-status")
JQL ->
issue in parent("filter = filter1")
It's working , but the problem is its returning all matched summary field. I need match JQL with triggered/transition issue key inside the JQL so that I can restrict to related issue subtask.
Note - I'm using another plugin(jql function) to write shorthand jql.
Thanks
Masud
Hi Masud,
What does the audit log say? Does it say the condition doesn't match or is there a JQL error?
If the the smart value is referenced in a saved filter, this wont work as the we don't ever see the underlying JQL when you run "filter = filter1"
You need to put the actual JQL into the config of the component.
Cheers,
Nick
Hi @Nick Menere,
Thanks for your prompt reply. Yes, saved jql filter is not working. Its giving me error:
"
Related issue condition
The following issue did not match the condition
XXXX-000
"
And what you meant by "actual JQL into the config of the component"?
Is there any specific settings for that?
And my jql is filter as follows:
- "Epic Link" in (epicsWhereIssueIn("issue = {{triggerIssue.key}}")) AND summary ~ "\"custom summary\""
and I want to execute the following jql which is not working/returning jql error in automation rule condition(jql):
- issue in parent("Epic Link" in (epicsWhereIssueIn("issue = {{triggerIssue.key}}")) AND summary ~ "\"custom summary\"")
Thanks
Masud
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.