Project

General

Profile

Actions

Feature #31322

open

Provide a way to automatically close all open subtasks too when a parent issue is being closed

Added by Hinako Tajima almost 5 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I wish to add the function of reminder which shows up like pop-up screen to ask for closing the subtask when the parent issue is closed.

親チケットが閉じられたときに、子チケットを閉じるように求める、ポップアップ画面が表示されるようなリマインダー機能を追加してほしい。


Files

issue-31322.diff (3.47 KB) issue-31322.diff Toshi MARUYAMA, 2019-09-30 19:51
issue-31322-ver.2.diff (2.56 KB) issue-31322-ver.2.diff Toshi MARUYAMA, 2019-09-30 20:01
POC.png (36.2 KB) POC.png Toshi MARUYAMA, 2019-09-30 20:13
issue-31322-ver.3.diff (4.3 KB) issue-31322-ver.3.diff Toshi MARUYAMA, 2019-10-09 10:01
issue-31322.ver.4.diff (8 KB) issue-31322.ver.4.diff Toshi MARUYAMA, 2019-10-16 04:15
issue-31322.ver.4.png (61.3 KB) issue-31322.ver.4.png Toshi MARUYAMA, 2019-10-16 04:15
20191218-01-ajax-check.diff (14.1 KB) 20191218-01-ajax-check.diff Toshi MARUYAMA, 2019-12-19 03:01
20191218-02-ajax-modal-form.png (24.7 KB) 20191218-02-ajax-modal-form.png Toshi MARUYAMA, 2019-12-19 03:02
20191218-02-ajax-modal-form.diff (5.13 KB) 20191218-02-ajax-modal-form.diff Toshi MARUYAMA, 2019-12-19 03:02
20191218-03-close-all-open-subtasks.diff (20.1 KB) 20191218-03-close-all-open-subtasks.diff Toshi MARUYAMA, 2019-12-19 03:03
20191218-03-close-all-open-subtasks.png (22 KB) 20191218-03-close-all-open-subtasks.png Toshi MARUYAMA, 2019-12-19 03:03
20200131-collapse.diff (25.4 KB) 20200131-collapse.diff Toshi MARUYAMA, 2020-01-31 15:22
20200131-series.diff (39.3 KB) 20200131-series.diff Toshi MARUYAMA, 2020-01-31 15:22
20200609-collapse.diff (25.5 KB) 20200609-collapse.diff Toshi MARUYAMA, 2020-06-09 10:43
20200609-series.diff (39.2 KB) 20200609-series.diff Toshi MARUYAMA, 2020-06-09 10:43

Related issues

Related to Redmine - Feature #31321: Option not to block closing a parent issue when its subtask is openClosed

Actions
Related to Redmine - Feature #28492: Option not to block closing a parent issue when it has open subtask(s)New

Actions
Related to Redmine - Feature #31589: Show warning and the reason when the issue cannot be closed because of open subtasks or blocking open issue(s)ClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 5 years ago

  • Related to Feature #31321: Option not to block closing a parent issue when its subtask is open added
Actions #2

Updated by Go MAEDA almost 5 years ago

  • Category set to Issues
Actions #3

Updated by Go MAEDA almost 5 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Closing as a duplicate of #28492.

Actions #4

Updated by Go MAEDA almost 5 years ago

  • Is duplicate of Feature #28492: Option not to block closing a parent issue when it has open subtask(s) added
Actions #5

Updated by Toshi MARUYAMA over 4 years ago

  • Subject changed from Close subtasks along with a parent issue. to Confirming to close a parent issue when its subtask is open
  • Status changed from Closed to New
  • Resolution deleted (Duplicate)

I don't think this issue is duplicate of #28492.

Actions #6

Updated by Toshi MARUYAMA over 4 years ago

  • Is duplicate of deleted (Feature #28492: Option not to block closing a parent issue when it has open subtask(s))
Actions #7

Updated by Toshi MARUYAMA over 4 years ago

  • Related to Feature #28492: Option not to block closing a parent issue when it has open subtask(s) added
Actions #8

Updated by Toshi MARUYAMA over 4 years ago

This is POC.
There is no test.
You need apply #28492 patch first.

Actions #9

Updated by Toshi MARUYAMA over 4 years ago

Simplified.

Actions #10

Updated by Toshi MARUYAMA over 4 years ago

$ LC_ALL=en_US.UTF-8 firefox

Actions #11

Updated by Toshi MARUYAMA over 4 years ago

This is new POC version.
There is still no test.

Actions #12

Updated by Toshi MARUYAMA over 4 years ago

This patch has test.
You need to apply #28492#note-14 patch first.

Actions #13

Updated by Toshi MARUYAMA over 4 years ago

Previous patch uses complicated javascript.
This patch rewrite to use jQuery submit event.

Previous patch uses client html elements to check whether subtask is open or not.
So it cannot check invisible issue.
This patch uses ajax and check in server.

You need to apply #28492#note-14 patch first.

Actions #14

Updated by Toshi MARUYAMA over 4 years ago

This is additional patch to previous patch.
This patch replaces Javascript confirm dialog to ajax modal form.

Actions #15

Updated by Toshi MARUYAMA over 4 years ago

This is additional patch to previous patch.

  • All open subtasks are visible
  • Selected status is allowed in all open subtasks

In this case this dialog opens.

If not, previous note dialog opens.

Actions #16

Updated by Toshi MARUYAMA over 4 years ago

  • Related to Feature #31589: Show warning and the reason when the issue cannot be closed because of open subtasks or blocking open issue(s) added
Actions #17

Updated by Mitsuyoshi Kawabata over 4 years ago

Regarding Maruyama's patches, how about just #31589? It would be simple and clear.

Actions #18

Updated by Mischa The Evil over 4 years ago

  • Subject changed from Close all open subtasks when parent issue to be closed to Provide a way to automatically close all open subtasks too when a parent issue is being closed

FWIW: This issue is not related/being superseded by either #28492 or #31589. See my explanation in #31589#note-21.

@Toshi MARUYAMA: It has become very hard to review your patches for this feature. Can you provide all your changes for this feature in a single patch and clearly specify which requirements it has (like a dependency on an implementation for issue #28492)?
Actions #19

Updated by Toshi MARUYAMA about 4 years ago

  • File 20200131-series.diff added
  • File 20200131-collapse.diff added

Mischa The Evil wrote:

@Toshi MARUYAMA: It has become very hard to review your patches for this feature. Can you provide all your changes for this feature in a single patch and clearly specify which requirements it has (like a dependency on an implementation for issue #28492)?

Done.

These depend on #28492#note-20 issue-28492.ver.3.diff.

Actions #20

Updated by Toshi MARUYAMA about 4 years ago

Fix indents.

Actions #21

Updated by Toshi MARUYAMA about 4 years ago

  • File deleted (20200131-series.diff)
Actions #22

Updated by Toshi MARUYAMA about 4 years ago

  • File deleted (20200131-collapse.diff)
Actions #23

Updated by Toshi MARUYAMA almost 4 years ago

r19803 changed ajax behavior and it broke previous patches.
These are fixed patches.

Actions

Also available in: Atom PDF