freescout-itk-issue-create/README.md

40 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-06-25 09:01:32 +02:00
# 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