can you help me with a jira automation to send 5 people a slack message with the a…
- User
can you help me with a jira automation to send 5 people a slack message with the a userinput message that also goes out to user choosen channels but I dont want the 5 people to recieve the orinal message more than once and it is always the same 5 people in the future too any time I have to send a message
Assistant
I'll help you design a Jira automation workflow that accomplishes this. Here's a step-by-step approach:
- Automation Setup:
Trigger: Manual trigger (custom button/action in Jira) Conditions: - Fixed list of 5 predefined recipients - User input message - Channel selection Actions: 1. Validate message input 2. Send Slack message to predefined channels 3. Send Slack direct messages to 5 specific people 4. Prevent duplicate messages to individuals- Recommended Implementation Strategy:
- Create a predefined list of 5 team members' Slack user IDs
- Use Jira's Slack integration or a webhook
- Implement deduplication logic to prevent multiple messages
- Pseudo-code for Automation:
function sendSlackNotification(message, channels, recipients): # Send to selected channels for channel in channels: sendToChannel(channel, message) # Send direct messages to recipients for recipient in recipients: sendDirectMessage(recipient, message)- Configuration Considerations:
- Hardcode the 5 recipient Slack IDs
- Create a custom field for channel selection
- Add a text area for message input
Would you like me to elaborate on any specific aspect of this automation design? I can provide more detailed steps for implementation in Jira's automation builder.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.