Hi, hope everyone doing well.
Need some help constructing a JQL that will fetch me all User stories whose parent Epic got the fixVersion populated as say V1.
Hi @Troy With the help of Script runner Enhanced search you can get all issues of an Epic which is having fixversion not Empty or fix version = V1.
Atlassian provided JQL function won't have this option.
issueFunction in issuesInEpics("project = PA AND fixVersion IS NOT EMPTY")
@Vikrant Yadav Thanks for clarifying that this cannot be achieved via out-of-the-box JQL functions and will require a plugin from Marketplace like the one you mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Troy ,
Without plugin, you can achieve this using Project Automation.
Create Manual or Scheduled trigger flow, use JQL fixversion IS NOT Empty AND issuetype = "Epic" and add Branch Select "Stories" in type of related issue and add action like send email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vikrant Yadav thanks for the pointer. I was trying that but will need your help to complete :)
I have created a manual trigger as you can see in the screenshot below and for Send email content I used the below smartvalue as I picked from https://community.atlassian.com/t5/Automation-questions/Jira-Automation-Send-email-notification-when-an-epic-is-complete/qaq-p/1541450
Here are the list of issues in the epic:
<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}}</a> {{summary}}</li>{{/}}
</ul>
When I trigger the rule, audit log says 'No actions performed' :(
I would like to display
Issue Key(with url) - Issue Summary - Issue Type - Status - Assignee
Please help me to construct the email content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Troy Glad to hear, I am able to help you out!
Kindly accept the solution, if it works for you. It help others having same query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Troy
Unfortunately, this is trickier than one might think; as a "hierarchical query", it would really require some kind of "join" or "subquery", which isn't available in plain Jira/JQL.
A few directions forward:
If you want to run your search "dynamically", without manually "stitching" two queries together, you'll need extra tooling:
Hope this helps,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to expand on the last point, this is how this would look in the app that my team and I are working on, JXL for Jira. Put simply, you'd create a sheet with all issues that are potentially relevant to you, enable the default issue hierarchy (that's just one click), and then use JXL filtering capabilities to narrow down to the issues that you care about:
(I'm using labels here, but it would work the same way with any other field.)
Once you have your list of issues, you can work on these directly in JXL (much like you'd do in e.g. Excel or Google Sheets), trigger various operations in Jira, or export them for further processing.
Any questions just let me know!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Troy
I’m Charlotte, a support engineer at Appfire and I’m here to help you.
Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all stories whose parent Epic got the fixVersion V1, for example:
issue in childrenOfEpicsInQuery("fixVersion='V1'") AND type = Story
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
Best regards,
Charlotte
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.