I'm trying to create an automation rule in Jira where upon new issue creation (which has a BAU label and due date automatically populated), it checks for an Epic with a BAU tag and a due date which matches the month & year of the new issue's due date.
Example workflow:
Appreciate any guidance on whether this is possible and if so, how to proceed. Thank you
Hi @J F and welcome to the community!
You could do something like this:
{{issue.dueDate.format("MM")}}
{{issue.dueDate.format("yyyy")}}
issueType = Epic and labels IN (BAU) AND dueDate >= "{{varYear}}-{{varMonth}}-01" AND dueDate < "{{varYear}}-{{varMonth.asNumber.plus(1)}}-01"
{{lookupIssues}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Everything works (lookup issues matches with the correct Epic) except for the last condition {{lookupIssues.size}} Equals 1. Any ideas why this might be the case?
Edit: fixed the issue through a refresh. Thanks again @Mark Segall !
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.