mirror of
https://git.yylx.win/https://github.com/itk-dev/freescout-itk-issue-create.git
synced 2025-11-25 18:46:05 +08:00
40 lines
No EOL
1.1 KiB
Markdown
40 lines
No EOL
1.1 KiB
Markdown
# 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 |