{"id":21032477,"url":"https://github.com/majkinetor/mm-redmine","last_synced_at":"2026-02-07T13:04:01.342Z","repository":{"id":38382728,"uuid":"471955236","full_name":"majkinetor/mm-redmine","owner":"majkinetor","description":"Redmine PowerShell module","archived":false,"fork":false,"pushed_at":"2025-08-05T18:50:20.000Z","size":79,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T11:11:30.021Z","etag":null,"topics":["powershell","pwsh","redmine","redmine-client"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/majkinetor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-20T11:10:47.000Z","updated_at":"2025-08-05T18:50:23.000Z","dependencies_parsed_at":"2024-01-15T14:44:36.601Z","dependency_job_id":"19f75519-c609-4b09-9b20-3804abe46da6","html_url":"https://github.com/majkinetor/mm-redmine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/majkinetor/mm-redmine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majkinetor%2Fmm-redmine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majkinetor%2Fmm-redmine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majkinetor%2Fmm-redmine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majkinetor%2Fmm-redmine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/majkinetor","download_url":"https://codeload.github.com/majkinetor/mm-redmine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majkinetor%2Fmm-redmine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T12:38:28.597Z","status":"ssl_error","status_checked_at":"2026-02-07T12:38:23.888Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell","pwsh","redmine","redmine-client"],"created_at":"2024-11-19T12:43:22.135Z","updated_at":"2026-02-07T13:04:01.327Z","avatar_url":"https://github.com/majkinetor.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redmine PowerShell Module\n\nPowerShell client for Redmine REST API.\n\n## Features\n\n1. Projects\n1. Issues\n1. Files\n1. Wiki\n1. Users\n1. Time Entries\n\n## How to use\n\n1. Obtain Redmine API key via *My Account -\u003e API access key*\n1. Import module: `import-module mm-redmine`\n1. Initialize session: `Initialize-RedmineSession -Url 'https://redmine...' -Key '\u003ckey\u003e'`\n\nYou can use any module function now. To get a list of available functions invoke: `Get-Command -Module mm-redmine`.\n\nUse `$VerbosePreference = 'Continue'` on the top of the script or `-Verbose` option on any function to see detailed low level communication with Redmine.\n\n## Prerequisites\n\nNothing particular is required. Works with PowerShell 3+.\n\n## Examples\n\n### Login\n\n```ps1\n# Login to redmine using your key: My account -\u003e API access key\n# Must have Administration -\u003e Settings -\u003e API -\u003e [x] Enable REST web service\nInitialize-RedmineSession -Url 'https://redmine...' -Key '\u003ckey\u003e'\n```\n\n### Projects\n\n```ps1\n\n# Get all projects\nGet-RedmineProject | Format-Table\n\n# Get project by name\nGet-RedmineProject -Name test\n```\n\n### Issues\n\n```ps1\n\n# Get single issue\nGet-RedmineIssue -Id 112 -Include watchers\n\n# Get all issues\nGet-RedmineIssue\n\n# Get project issues and show them in table\n$filter = New-RedmineIssueFilter -ProjectId $project.id\n$issues = Get-RedmineIssue -Filter $filter\n$htAuthor = @{ N='author'; E={$_.author.name} }\n$issues | Format-Table subject, $htAuthor, created_on, start_date, due_date\n\n# Filter issues by custom field by the name 'Level'\n## get custom field Level as id\n$filter  = New-RedmineIssueFilter -ProjectId $p.id\n$cf      = Get-RedmineIssue -Filter $filter -Limit 1 | % custom_fields\n$levelId = Get-RedmineCustomFieldId $cf Level\n$filter  = New-RedmineIssueFilter -ProjectId $p.id -CustomFields @{ levelId = 'Senior' }\nGet-RedmineIssue -Filter $filter\n\n# Add watcher\nAdd-RedmineIssueWatcher -IssueId 1124  -UserId 9\n\n# Create issue\n$issue = New-RedmineIssue -ProjectId $project.id -Subject test\n\n# Add issue note\nUpdate-RedmineIssue -Id $issue.id -Notes \"test; **test2**\"\n```\n\n### Files\n\n```ps1\n$u = Publish-RedmineFile $PSScriptRoot\\test.ps1\nUpdate-RedmineIssue -Id 1474 -Uploads @{ token = $u.token; filename = 'test.ps1'; content_type = \"text/plain\" }\n```\n\n### Wiki\n\n```ps1\n# Get all wiki pages\n$res = Get-RedmineWikiPages -ProjectName test\n$res | Format-Table\n\n# Get concrete page and convert to HTML (if in markdown)\n$page = Get-RedmineWikiPage -ProjectName test -PageName wiki\n$page.text | ConvertFrom-Markdown | % Html\n\n# Set wiki page\n$markdown = @\"\n# PowerShell Test\n\nThis is created/updated from ``pwsh``.\n\"@\nSet-RedmineWikiPage -ProjectName test -PageName test -Text $markdown -Comments \"Created by pwsh\"\n```\n\n### Users\n\n```ps1\n# Create user\n$user = @{\n    Login                      = 'test_user'\n    Password                   = 'test'\n    Firstname                  = 'test'\n    Lastname                   = 'user'\n    Mail                       = 'test_user@example.com'\n    AuthenticationSourceId     = 0\n    MustChangePassword         = $false\n    SendInformation            = $false\n    GeneratePassword           = $false\n}\n$user = New-RedmineUser @user\n\n# Remove user\nRemove-RedmineUser $user.id\n```\n\n### Time Entries\n\n```ps1\n\n# Get entires for project and user\n$fu = New-RedmineUserFilter -Name test_user\n$u = Get-RedmineUser -Filter $fu\n$fte = New-RedmineTimeEntriesFilter -ProjectId test -UserId $u.Id\n$te = Get-RedmineTimeEntries -Filter $fte\n$te | Format-Table\n\n# Create\n$params = @{\n   ProjectId  = 'test'\n   UserId     = $u.id\n   SpentOn    = '2023-11-29'\n   ActivityId = 1\n   Comments   = \"Test\"\n   Hour       = 8\n}\n$te = New-RedmineTimeEntry @params\n\n# Update\nUpdate-RedmineTimeEntry -Id $te.id -Comment \"some comment\"\n\n# Delete\nRemove-RedmineTimeEntry -Id $te.id\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajkinetor%2Fmm-redmine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmajkinetor%2Fmm-redmine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajkinetor%2Fmm-redmine/lists"}