プロジェクト

全般

プロフィール

Vote #71487

未完了

Issue mapping (external issues and data import/export)

Admin Redmine さんが約4年前に追加.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
0
issue_org_id:
10418
author_id:
51595
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The related (closed) ticket #3647 imho addresses an important feature. Merging projects which have been managed in different repositories is something that happens (just happened to me after one week of using redmine).

My proposal to solve this problem and add another quite sexy feature would be to add an issue mapping table. This table maps the issue ID used by the current redmine instance to a source or external ID and a source system ID referencing a specification of the source system.

  • For local issues, the source ID is NULL.
  • For imported issues (originating from another redmine or alien system), the source contains their ID.

The source system specification defines the following information:

  • Repository; if defined, this is used to link issues belonging to this system. If the repository is not defined, the setting of the project is used
  • Repository/Issue link: same as for projects, defines how to parse issues. If not defined, setting from project is used. Setting is applied to system source repository or project repository.
  • Source system connector. If defined, issues can be contineously be imported/synchronized using some defined interface. If not defined, source is considered to be dead (migrated to local system)

This would even then work, if one existing redmine project is using multiple repositories (source ID = ID, 2nd repository comes from source system setting)

With that implementation in place, importing a project that was exported from another system shouldn't really be too tough. If we have an XML dump, the mapping can be done with a simple XSLT.

Granted, its a bit of work (2 weeks i would estimate), but it would open doors to a lot of quite interesting and important features.

Definitely not anywhere close to 'impossible' or even 'hard', is it?

表示するデータがありません

他の形式にエクスポート: Atom PDF

いいね!0