Skip to content

enhancement(integrations): offer custom fields when creating MantisBT, Redmine and Azure DevOps issues - #763

Merged
therealbrad merged 1 commit into
mainfrom
enhancement/mantisbt-custom-fields
Nov 24, 2026
Merged

therealbrad merged 1 commit into
mainfrom
enhancement/mantisbt-custom-fields

Conversation

@therealbrad

Copy link
Copy Markdown
Contributor

Description

The create issue form now offers the tracker's custom fields for MantisBT, Redmine and Azure DevOps, as it already does for Jira and ClickUp. The fields appear under "Additional Fields" once an issue type is selected.

  • MantisBT: fields that are shown or required on report for the project. Lists, multi-value lists, checkboxes, radio buttons, dates, numbers and long text each get a matching input, and defaults are pre-filled. Lists whose options MantisBT computes (for example =versions) are plain text inputs. Keys that are not fields of the project are dropped instead of failing the create.
  • Redmine: fields for the selected tracker and project, including version fields (open versions) and user fields (project members). Redmine only describes custom fields to administrators, so with a non-admin API key the form falls back to plain text inputs named after the project's fields.
  • Azure DevOps: fields the organization added to the selected work item type (everything outside the System. and Microsoft. namespaces). Values are sent as the field's type.
  • Create dialog: gains multi-select, date and long-text inputs. They are used only when an adapter asks for them, so Jira and ClickUp forms render as before.

GitHub, GitLab, Gitea and Simple URL have no custom fields, so they are unchanged.

Related Issue

None. Requested by a user by email.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • E2E tests
  • Manual testing

Unit tests: new cases in the three adapter suites and the create dialog suite. pnpm precommit passes.

Manual testing: the MantisBT and Redmine adapters were run against live instances (MantisBT schema 213, Redmine 6.1.2) with one custom field of every type. The listed fields matched the tracker's configuration, and an issue created with every field filled in stored each value correctly.

Not tested against a live tracker:

  • Azure DevOps (unit tests only)
  • Redmine with a non-admin API key (unit tests only)
  • The create dialog in a browser against a real tracker (the adapters were driven directly)

Test Configuration:

  • OS: macOS
  • Browser (if applicable): n/a
  • Node version: 24

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published
  • I have signed the CLA

Screenshots (if applicable)

None.

Additional Notes

  • Squash-merge with the PR title unchanged so this releases as a patch.
  • Creating an Azure DevOps work item with custom values makes one extra request, to read the field types.
  • The form does not block submission when a required custom field is empty; the tracker rejects the create and its message is shown, as for other fields today.

…, Redmine and Azure DevOps issues

The create issue form now lists the tracker's custom fields once an issue
type is selected, as it already does for Jira and ClickUp.

- MantisBT: fields shown or required on report for the project, with
  lists, multi-value lists, dates and defaults. Values are sent in the
  formats MantisBT expects, and keys that are not project fields are
  dropped instead of failing the create.
- Redmine: fields for the selected tracker and project, including version
  and user fields. Without an administrator API key the form falls back to
  plain text inputs named after the project's fields.
- Azure DevOps: fields the organization added to the work item type, with
  values sent as the field's type.

The form gains multi-select, date and long-text inputs, used only when an
adapter asks for them, and pre-fills field defaults.
@therealbrad
therealbrad merged commit 9241fc8 into main Nov 24, 2026
10 checks passed
@therealbrad
therealbrad deleted the enhancement/mantisbt-custom-fields branch November 24, 2026 02:55
@therealbrad

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.2.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

therealbrad added a commit that referenced this pull request Nov 24, 2026
…, Redmine and Azure DevOps issues (#763)

The create issue form now lists the tracker's custom fields once an issue
type is selected, as it already does for Jira and ClickUp.

- MantisBT: fields shown or required on report for the project, with
  lists, multi-value lists, dates and defaults. Values are sent in the
  formats MantisBT expects, and keys that are not project fields are
  dropped instead of failing the create.
- Redmine: fields for the selected tracker and project, including version
  and user fields. Without an administrator API key the form falls back to
  plain text inputs named after the project's fields.
- Azure DevOps: fields the organization added to the work item type, with
  values sent as the field's type.

The form gains multi-select, date and long-text inputs, used only when an
adapter asks for them, and pre-fills field defaults.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant