mirror of
https://git.yylx.win/https://github.com/itk-dev/freescout-itk-issue-create.git
synced 2025-11-24 18:36:07 +08:00
Hook into the issue create action in freescout
|
|
||
|---|---|---|
| .github/workflows | ||
| Config | ||
| Http | ||
| Providers | ||
| Public | ||
| Resources/views | ||
| Service | ||
| .gitignore | ||
| CHANGELOG.md | ||
| composer.json | ||
| composer.lock | ||
| module.json | ||
| phpcs.xml.dist | ||
| README.md | ||
| start.php | ||
Create issue module for Freescout
About
This module handles api connections and webhooks in relation to issue creation in Freescout.
- Adds a To-do in Leantime through use of the Leantime API.
- Uses a Teams webhook to add notification in teams channel.
- Adds a note on the Freescout issue with link to the Leantime issue.
Installation
- Clone this repo into the Modules directory of Freescout and name it ItkIssueCreate.
git clone git@github.com:itk-dev/freescout-itk-issue-create.git ItkIssueCreate
Configuration
A few variables needs to be set in Freescouts .env file
### Teams webhook ###
TEAMS_WEB_HOOK=
Finish
Dump autoload files and empty freescout cache.
idc exec phpfpm composer dumpautoload
idc exec phpfpm php artisan freescout:clear-cache
Enable module
Log into freescout and go to: /modules/list to enable this module.
Future development
- Implement proper string translation
- Implement configuration page
- Add tests
- Add code analysis with phpstan and github action
- Add artisan commands for testing connections and API