Defect #27863
closedIf version is closed or locked subtasks don't get copied
Description
Hi,
if I tryed to copy an issue with subtasks only the parent task is copied if the source version is closed or locked.
Regards
Alessandro
Files
Updated by Toshi MARUYAMA almost 9 years ago
Updated by Alessandro Zucchi almost 9 years ago
Hi,
for me all children issues must be copied independently from the state of the version, not only the parent task.s
Regards
Alessandro
Updated by Go MAEDA over 8 years ago
- Related to Defect #28765: Copying an issue fails if the issue is watched by a locked user added
Updated by Marius BĂLTEANU over 8 years ago
- Target version set to Candidate for next minor release
Toshi MARUYAMA wrote:
Confirmed.
I don't know what expected behaviour should be.
Considering that the target version is cleared in the UI when you copy an issue with a locked/closed target version, I think we should keep the same behaviour also for subtasks and automatically clear the target version if it is locked/closed. Any other opinions?
Updated by Alessandro Zucchi over 8 years ago
Marius BALTEANU wrote:
Toshi MARUYAMA wrote:
Confirmed.
I don't know what expected behaviour should be.Considering that the target version is cleared in the UI when you copy an issue with a locked/closed target version, I think we should keep the same behaviour also for subtasks and automatically clear the target version if it is locked/closed. Any other opinions?
Ok clear the target version if it is locked/closed, but most important that get copied.
Alessandro
Updated by Marius BĂLTEANU over 8 years ago
- File 0001-Clear-target-version-when-copying-an-issue-if-status.patch 0001-Clear-target-version-when-copying-an-issue-if-status.patch added
Attached is a small patch that fixes this issue.
Updated by Marius BĂLTEANU over 8 years ago
- Copied to Defect #28946: If assignee is locked subtasks don't get copied added
Updated by Go MAEDA over 8 years ago
- Target version changed from Candidate for next minor release to 3.4.6
The patch submitted by Marius works fine. Setting target version to 3.4.6.
Updated by Go MAEDA over 8 years ago
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed. Thank you all for your contribution.