Create Jira tasks via Slack shortcuts
- Create an app at api.slack.com/apps
- Navigate to the OAuth & Permissions page and add the following scopes to User Token Scopes:
- identity.basic
- identity.email
- Clone the code
- Create .env.local JIRA_USER = "[email protected]:test_api_token"
- Install dependencies and run app in local
$ npm install
$ npx tsc -w
$ npm start
- Create ngrok tunnel
ngrok http 3000
- Go back to Slack app settings and click on Interactivity & Shortcuts
- Request URL -> ngrok tunnel url
- Shortcuts -> Create New Shortcut -> Name: Report a new task, Short Description: Create a new jira task, Callback ID: reportTask
- Select Menus -> ngrok tunnel url