プロジェクト

全般

プロフィール

Vote #63815

完了

Copy and Move

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

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

0%

予定工数:
category_id:
2
version_id:
6
issue_org_id:
1847
author_id:
1329
assigned_to_id:
0
comments:
10
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

We have a family of related subprojects under a parent. Often I will assign the same basic task in each of the subprojects (so that I can see how it goes on the first one, and then schedule the same work on the siblings).

Typically I copy and then move the task from one project to the next, but this feels a bit clumsy... Copy duplicates an issue in the current project and Move moves an existing issue to a different project (but does not copy it). Since Copy is a specialised feature, perhaps it could ask for a project first (default being the current project) and then proceed, doing a Copy and Move if requested?


journals

We are writing a patch for this plan to add a checkbox to the Move screen "Make a copy" which would move a copy of the issue instead of the issue itself.
--------------------------------------------------------------------------------
Patch uploaded here: #2559
--------------------------------------------------------------------------------
Thanks, this looks like a very useful patch, but I'm not sure how to use it. Is it a diff? Is it a copy of a specific file?
--------------------------------------------------------------------------------
Feature added in r2313.
--------------------------------------------------------------------------------
Guys - I messed up with the patches (it was a redmine thing, I tried to save the patch file and saved the HTML page for the file instead...)
Our original patch is attached.
--------------------------------------------------------------------------------
Hi,

in the diff file, issues_controller.rb section, I replaced:

this:
unsaved_issue_ids << issue.id unless issue.move_to(@target_project, new_tracker,is_copy)

with this:
unsaved_issue_ids << issue.id unless issue.move_to_return_issue(@target_project, new_tracker,is_copy)

otherwise Redmine comes up with a "number of arguments" error when you try to move more than one issue.

--------------------------------------------------------------------------------
There is one really irritating aspect of 'Move' that I have been meaning to flag for a long time - this report reminded me. After I 'Move' and issue to a new project I invariably want to edit it to:

# Assign a Category - Categories are per project so it will normally arrive without a category.
# Assign a person - if the users are different between projects I will sometimes need to assign it.

However after the move Redmine drops me into the All Issues list for the source project, meaning I then have to switch projects and search for the newly moved task. This is really undesireable behaviour, I should end up back on the same issue in the new project?
--------------------------------------------------------------------------------
Ewan Makepeace wrote:
> However after the move Redmine drops me into the All Issues list for the source project, meaning I then have to switch projects and search for the newly moved task. This is really undesireable behaviour, I should end up back on the same issue in the new project?

New button 'Move and follow' added in r3063.
--------------------------------------------------------------------------------
Can it be recorded that the issue was copied from former issue in the history?
--------------------------------------------------------------------------------
See Patch #7447 for improvements.
--------------------------------------------------------------------------------


related_issues

relates,Closed,2559,Copy on Move option

Admin Redmine さんがほぼ2年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン0.9.0_6 にセット

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

いいね!0
いいね!0