Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.05 KB

how-to.md

File metadata and controls

26 lines (20 loc) · 1.05 KB

Importing issues in bulk to GH

  1. Create csv spreadsheet and list issues under column headings of title, body, labels, status. Multiple labels should be comma separated without a space after the comma.
  2. In the directory, npm install -g github-csv-tools
  3. githubCsvTools path/file.csv
  4. Follow prompts. It will ask you to input a GitHub token. To obtain this token:

Source:

Sending messages to Slack from a JS file

  1. Make a slackbot app on this page https://api.slack.com/apps?new_app=1 and link it to your Slack workspace.
  2. Activate incoming webhooks in the slack app (it gives us an URL, and relates it to a slack channel)
  3. Write a POST fetch request to that URL, with message data as JSON, e.g:
    let testMessage = {
        "text": "This is a test message!"
    }