Skip to content

Slack slash commands (/estim)Β #23

@elias-ba

Description

@elias-ba

Summary

Provide slash commands for quick actions from Slack.

Commands

/estim status

Show current sprint status
```
πŸ“Š Sprint: Q1 Week 3
Stories: 8 pending, 4 resolved
Deadline: 6 hours remaining
Your pending: 3 stories
[View Sprint] [Vote Now]
```

/estim vote

Show your pending votes
```
πŸ“‹ Your pending estimates:

  1. "Add Stripe webhook" (πŸ’³ Payments)
  2. "Refactor auth module" (πŸ” Auth)
  3. "Update dashboard UI" (🎨 Frontend)
    [Start Voting]
    ```

/estim create [sprint name]

Quick-create a new sprint
```
βœ… Created sprint "Q1 Week 4"
[Add Stories] [Open in Estim]
```

/estim help

Show available commands

Technical Notes

  • Register slash command in Slack App config
  • Handle requests at /api/slack/commands
  • Respond within 3 seconds (Slack requirement)
  • Use response_url for delayed responses

Acceptance Criteria

  • All commands work as documented
  • Responses are within Slack time limits
  • Error messages are helpful
  • Links open correct Estim pages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions