redmine_upload_attachment
Upload a local file to Redmine to obtain an attachment token, which can then be used to attach the file to an issue or add it to a project's Files module.
Instructions
[Alpha] Upload a local file to Redmine and get an attachment token. Reads the file at the given absolute path and posts its content to Redmine's attachment API. Pass the returned token in the 'uploads' array of redmine_create_issue or redmine_update_issue to attach the file to an issue, or to redmine_upload_file to add it to a project's Files module. If the server is configured with REDMINE_UPLOAD_DIR, only files inside that directory can be uploaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| file_path | Yes | ||
| content_type | No |