I am trying to set up a Rule where when you do a version release,
1. It should include custom fields
2. it should send one email to the target group listing all stories and bugs
with #lookupIssues it is not possible to include custom fields.
I tried to use JQL condition in new Condition and also Branch rule / related issues JQL
but it sends mail for each issue returned rather than one mail listing all issues.
I came to know it is possible through Create Variable.
Any help will be appreciated.
Hi @aagrawal
If your branch has JQL or could return more than one issue, you cannot use a created variable in this way. The asynchronous processing of branches would repeatedly create/destroy the variable and you would get nothing. Please see this article for more details on this (particularly in the post's responses): https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Create-variable-New-component/ba-p/1448118
As a work-around for Lookup issues not having your custom fields and created variables not working with a multi-issue branch, you can use a web request and the REST API. For example:
I included links in the above steps to help you. If you have issues trying this method, please post your rule image and the community can offer help.
Kind regards,
Bill
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.