Hi, I'm trying to figure out if the following is possible:
I want to schedule a daily Slack message that will include a digest of issues that changed status today. If any of these messages have specific labels, I want to tag specific Slack users.
I.e., 10 issues progressed to done, 1 had the label "Purchases" (relevant for Bob), 2 had the label "Marketing" (relevant for Alice), none had the label "Books" (relevant for Sylvia). Therefore, I want to post the list of the issues to Slack (this works), followed or preceded by messages that will tag Bob and Alice, but not Sylvia, all of this executed in one rule. Is this possible?
Thanks in advance for any help!
Hi Anastasiya - Welcome to the Atlassian Community!
I have not tried this but it might be possible to do the Slack post with multiple issues using the lookupIssues function. and then add a Branch after that based on JQL that would then send separate messages.
Again, I haven't done that, but that's the path I would go down to try it.
Thank you for your answer! I guess what I'm having difficulty with is, the branch conditions seem to refer more to trigger issues, which wouldn't be the case for a scheduled rule with lookupIssues. So trying to figure out how I would do that and whether it's possible.
I can't find a way to evaluate the labels of the issues, they don't seem to be accessible. I need to compare list A (the labels of the issues retrieved by JQL) with list B (my list of labels that are relevant to particular users), and I can't access this list A in any way.
The labels field is a universally available field with the same values showing for every project. So I am confused now as to the question as there are not separate values in the labels field that are associated with certain users.
Can you provide more details?
The association is not in Jira, it must be made with the help of automation. (IF any labels in the issues retrieved with lookupIssue have label "Marketing", ping Alice on Slack when outputting the list of issues). However, I have not been successful in accessing the labels field of issues in lookupIssue.
Sorry, I understand better now. No, the labels field is not available using the lookupIssue function. See the document for the list of available fields under the section on lookupIssue:
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events