Hi all
I want to get list of blocked items. But we use Blocked label for this purpose.
I used this article to create the rule - https://community.atlassian.com/t5/Automation-articles/Send-a-list-of-issues-in-Slack-with-Jira-automation-s-newest/ba-p/1411819
In Audit log I got success status, but the issues list doesn't appear in Slack
I got only "Hey we have following issues to be blocked"
How could I change Slack message?
Thanks
Hi @Елена Елена ,
While it appears that the automation worked successfully and identified the correct issues, I believe there might be some error in the web-hook part of your automation.
Can you please attach a screenshot of your And: Send Slack Message action?
Please blur or censor the web-hook URL (just make sure its correct).
And the incoming message you're receiving on Slack.
Out of curiosity, can you attach any link to the Slack message as a troubleshooting step? Just in case its getting filtered etc.
Looking forward to hearing from you.
Kind Regards,
Ash
the message in Slack - "Hey we have following issues to be blocked" and nothing more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you replace your message with the following:
Hey, we have the following issues to be blocked:
{{#lookupIssues}} *<{{url}}|{{key}}> {{/}}
The google URL is used to check If hyperlinks are being filtered in your message, in which case the issue is with your Slack configuration rather than the automation.
Let me know how you get on and please post the output after the automation is run.
Kind Regards,
Ash
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 @Елена Елена looks like that worked :)
So your correct message should be:
Hey, we have the following issues to be blocked:
{{#lookupIssues}} *<{{url}}|{{key}}> {{/}}
As for new lines, I'm not sure that is going to be possible but I could be wrong.
A quick search netted me the following discussion:
I would also explore this article from Slack regarding text formatting for messages sent to Slack via APIs:
https://api.slack.com/reference/surfaces/formatting
I think we got the initial issue resolved so I'm going to leave the rest to you.
Kind Regards,
Ash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I did it.
One more question how to put project name into the text
Hey, <project.name> has the following issues to be blocked:
I tried {{project.name}} it displays nothing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try this:
Hey, <{{project.name}}> {{/}} has the following issues to be blocked:
{{#lookupIssues}} *<{{url}}|{{key}}> {{/}}
I'm not on a computer at the moment to test it but this should be a good place to start.
Also see: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-projects/
Hope it helps.
Kind Regards,
Ash
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.
To make new line the message should the following
Hey, we have the following issues to be blocked:
{{#lookupIssues}} *<{{url}}|{{key}}>
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more question to finish this topic
Can I sort issues by Sprint, for example stories from current on the top.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Елена Елена ,
Well, it can be done but that gets a little trickier. Have a look at this thread: https://community.atlassian.com/t5/Jira-Software-questions/Get-active-sprint-name-in-smart-value-for-automation/qaq-p/1573065
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.