Hi,
I want to use LookIssues to send sprint scope or what is going to get released to my Ops team.
I was able to accomplish adding two JIRA queries to rule and it works.. but how do I segregate the result in my email
Here is my rule, what should I add in email so that the output of these two rules is separated
{{#lookupIssues}}
| {{url}} | {{key}} | {{status.name}} | {{issuetype.name}} | {{summary}}
{{/}}
{{#lookupIssues}}
| {{url}} | {{key}} | {{status.name}} | {{issuetype.name}} | {{summary}}
{{/}}
Yes I succeed to do it
1)Create your first jql
2)Record a new variable (with for exemple {{lookupIssues.size}} to have total number of issues
3)Create a second Jql
4)Record again a new variable
5) etc.. repeat operation as needed
6) use your variables in your email
Hello @Neetu Verma
Thanks for writing to us.
I am afraid thats now how "lookupIssues" works. Second JQL's output will override first JQL output in variable {{lookupIssues}}
Either
Go for two separate mails, meaning planing rule:
Trigger -> JQL - 1 -> Send email action -> JQL - 2 -> Send another email action
This will shootout two separate emails.
OR
Convert it into one JQL, then you can send one combined email.
Hope this answers your query. Maybe you can share mode details around your use case, if you seek more assistance.
More details for lookupIssues smart values and article for help.
Cheers
Sherry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Sherry, I went for on email. I would like to use this to send all the JIRA tickets which were worked upon in one sprint.
Is there a way I can sort on using Issue types?
Thanks
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would suggest to add sorting logic as part of JQL like:
project = ........ ORDER BY issuetype DESC
You can use ASC/DESC and output will probably depend on ordering of issue types in the scheme but default one will work just fine. You can try jql in jira search bar and check the order.
To know more on what all we functions we can do on list using smart values are mentioned here.
Thanks
Sherry
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.