Skip to main content

Redmine

@webframp/redminev2026.04.30.2· 1mo agoMODELS
01README

Redmine issue tracker integration — workflow-agnostic CRUD model.

Provides 26 model methods covering issues, projects, statuses, trackers, users, custom fields, relations, versions, time entries, watchers, search, issue categories, journal editing, and file uploads. Designed as composable primitives for building any workflow on top of Redmine.

For opinionated Kanban workflows, flow metrics, and sprint reports, see @webframp/redmine-kanban.

Quick Start

swamp extension pull @webframp/redmine
swamp model create @webframp/redmine tracker \
  --global-arg host=https://your-redmine.example.org \
  --global-arg apiKey=YOUR_API_KEY \
  --global-arg project=your-project
02Models1
@webframp/redminev2026.04.30.1redmine/redmine.ts

Global Arguments

ArgumentTypeDescription
hoststringRedmine instance URL (e.g. https://redmine.example.com)
apiKeystringRedmine API key (40-character hex string)
projectstringDefault project identifier
username?stringRedmine username for X-Redmine-Username header (required by some ingress configurations)
fn list_statuses()
List all issue statuses
fn list_trackers()
List all trackers
fn list_projects()
List all accessible projects
fn list_users(project?: string)
List project memberships (users and groups with their roles)
ArgumentTypeDescription
project?stringProject identifier (defaults to global project arg)
fn list_custom_fields()
List all custom field definitions
fn list_issues(project?: string, trackerId?: number, statusId?: union, assignedToId?: union, parentId?: number, limit?: number, sort?: string)
List issues matching filters
ArgumentTypeDescription
project?stringProject identifier
trackerId?numberFilter by tracker ID
statusId?unionFilter by status ID or open/closed/*
assignedToId?unionFilter by assignee ID or 'me'
parentId?numberFilter by parent issue ID
limit?numberMax results (default 25, max 100)
sort?stringSort field (e.g., 'updated_on:desc')
fn get_issue(issueId: number)
Get a single issue with journals and children
ArgumentTypeDescription
issueIdnumberIssue ID
fn create_issue(subject: string, project?: string, trackerId?: number, statusId?: number, priorityId?: number, assignedToId?: number, description?: string, parentIssueId?: number, estimatedHours?: number, customFields?: array)
Create a new issue
ArgumentTypeDescription
subjectstringIssue subject
project?stringProject identifier
trackerId?numberTracker ID
statusId?numberStatus ID
priorityId?numberPriority ID
assignedToId?numberAssignee user ID
description?stringIssue description
parentIssueId?numberParent issue ID
estimatedHours?numberEstimated hours
customFields?arrayCustom field values
fn update_issue(issueId: number, subject?: string, trackerId?: number, statusId?: number, priorityId?: number, assignedToId?: number, description?: string, parentIssueId?: number, estimatedHours?: number, doneRatio?: number, dueDate?: string, notes?: string, customFields?: array)
Update an existing issue
ArgumentTypeDescription
issueIdnumberIssue ID to update
subject?stringNew subject
trackerId?numberNew tracker ID
statusId?numberNew status ID
priorityId?numberNew priority ID
assignedToId?numberNew assignee user ID
description?stringNew description
parentIssueId?numberNew parent issue ID
estimatedHours?numberNew estimated hours
doneRatio?numberPercent done (0-100)
dueDate?stringUpdated due date (YYYY-MM-DD)
notes?stringJournal note to add
customFields?arrayCustom field values to update
fn delete_issue(issueId: number)
Delete an issue
ArgumentTypeDescription
issueIdnumberIssue ID to delete
fn list_relations(issueId: number)
List relations for an issue
ArgumentTypeDescription
issueIdnumberIssue ID
fn create_relation(issueId: number, issueToId: number, relationType: enum, delay?: number)
Create a relation between two issues
ArgumentTypeDescription
issueIdnumberSource issue ID
issueToIdnumberTarget issue ID
relationTypeenumRelation type
delay?numberDelay in days (for precedes/follows)
fn delete_relation(relationId: number)
Delete a relation
ArgumentTypeDescription
relationIdnumberRelation ID to delete
fn list_versions(project?: string)
List project versions (milestones/sprints)
ArgumentTypeDescription
project?stringProject identifier (defaults to global project arg)
fn list_time_entries(issueId?: number, project?: string, userId?: number, from?: string, to?: string, limit?: number)
List time entries, optionally filtered by issue or project
ArgumentTypeDescription
issueId?numberFilter by issue ID
project?stringFilter by project identifier
userId?numberFilter by user ID
from?stringStart date (YYYY-MM-DD)
to?stringEnd date (YYYY-MM-DD)
limit?numberMax results (default 25)
fn log_time(issueId: number, hours: number, activityId?: number, comments?: string, spentOn?: string)
Log time spent on an issue
ArgumentTypeDescription
issueIdnumberIssue ID
hoursnumberHours spent
activityId?numberActivity ID
comments?stringComment
spentOn?stringDate spent (YYYY-MM-DD, defaults to today)
fn add_watcher(issueId: number, userId: number)
Add a watcher to an issue
ArgumentTypeDescription
issueIdnumberIssue ID
userIdnumberUser ID to add as watcher
fn remove_watcher(issueId: number, userId: number)
Remove a watcher from an issue
ArgumentTypeDescription
issueIdnumberIssue ID
userIdnumberUser ID to remove as watcher
fn search(query: string, project?: string, limit?: number)
Search across issues, projects, and wiki pages
ArgumentTypeDescription
querystringSearch query
project?stringScope search to project identifier
limit?numberMax results (default 25)
fn get_version(versionId: number)
Get a single version by ID
ArgumentTypeDescription
versionIdnumberVersion ID
fn create_version(project?: string, name: string, description?: string, status?: enum, dueDate?: string, sharing?: enum, wikiPageTitle?: string)
Create a project version (milestone/sprint)
ArgumentTypeDescription
project?stringProject identifier (defaults to global project arg)
namestringVersion name
description?stringDescription
status?enumVersion status
dueDate?stringDue date (YYYY-MM-DD)
sharing?enumSharing scope
wikiPageTitle?stringWiki page title
fn update_version(versionId: number, name?: string, description?: string, status?: enum, dueDate?: string, sharing?: enum, wikiPageTitle?: string)
Update a version
ArgumentTypeDescription
versionIdnumberVersion ID
name?stringNew name
description?stringNew description
status?enumNew status
dueDate?stringNew due date (YYYY-MM-DD)
sharing?enumNew sharing scope
wikiPageTitle?stringNew wiki page title
fn delete_version(versionId: number)
Delete a version
ArgumentTypeDescription
versionIdnumberVersion ID to delete
fn update_journal(journalId: number, notes: string, privateNotes?: boolean)
Update a journal entry's notes
ArgumentTypeDescription
journalIdnumberJournal ID
notesstringUpdated notes content
privateNotes?booleanMark notes as private
fn list_issue_categories(project?: string)
List issue categories for a project
ArgumentTypeDescription
project?stringProject identifier (defaults to global project arg)
fn upload_file(issueId: number, filePath: string, filename?: string, description?: string, contentType?: string)
Upload a file and attach it to an issue (two-step: upload binary, then attach token)
ArgumentTypeDescription
issueIdnumberIssue ID to attach the file to
filePathstringLocal file path to upload (relative to working directory)
filename?stringFilename for the attachment (defaults to basename of filePath)
description?stringAttachment description
contentType?stringMIME type (auto-detected from filename if omitted)

Resources

issues(30m)— List of issues matching query filters
issue_detail(30m)— Single issue with journals and children
projects(1h)— List of accessible projects
statuses(infinite)— Issue statuses (id, name, isClosed)
trackers(infinite)— Trackers (id, name, defaultStatus, description)
users(1h)— Project memberships (users and groups with roles)
custom_fields(infinite)— Custom field definitions (id, name, fieldFormat, possibleValues, ...)
relations(30m)— Issue relations (blocks, precedes, relates, etc.)
versions(1h)— Project versions (milestones/sprints)
time_entries(30m)— Time entries for issues or projects
search_results(15m)— Search results across issues, projects, and wiki
issue_categories(1h)— Issue categories for a project
03Previous Versions5
2026.04.30.1May 1, 2026

Modified 1 models

2026.04.22.3Apr 23, 2026
2026.04.22.2Apr 23, 2026
2026.04.22.1Apr 22, 2026
2026.04.14.1Apr 14, 2026
04Stats
A
100 / 100
Downloads
5
Archive size
22.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels