Defect #33419

Show only valid projects on issue form when the issue is a subtask

Added by Dmitry Makurin 8 months ago. Updated 15 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:


Target version:4.2.0
Resolution:Fixed Affected version:


In r10587 were introduced cross project subtasks, you can select project of subtask based on system setting.
In r17217 were introduced selection project and its subprojects on new issue form. Basically it shows on new issue form subprojects without taking into account setting for cross-project subtasks. So, even though subtask may have any project form will show only current project and its subprojects or vice versa subtasks' project is disabled and nevertheless form will show subprojects.

Related patch fixes this behaviour. New issue form will show projects based on system setting if parent_issue_id field is present so user can't select inappropriate project.

subtasks_project_on_new_issue_form.patch Magnifier (6.09 KB) Dmitry Makurin , 2020-05-08 13:00

0001-Take-into-account-the-setting-Setting.cross_project_.patch Magnifier (8.53 KB) Marius BALTEANU, 2020-12-21 21:52

Associated revisions

Revision 20701
Added by Go MAEDA 15 days ago

Show only valid projects on issue form when the issue is a subtask (#33419).

Patch by Marius BALTEANU.


#1 Updated by Go MAEDA 8 months ago

  • Tracker changed from Patch to Defect
  • Category set to Issues
  • Target version set to Candidate for next major release

#2 Updated by Go MAEDA 8 months ago

  • Status changed from New to Confirmed

#3 Updated by Marius BALTEANU about 1 month ago

  • Assignee set to Marius BALTEANU

#4 Updated by Marius BALTEANU 25 days ago

I made a patch (inspired from Dmitry's work) that implements this feature.

The patch also changes my initial implementation (r17217) in order to move the logic from model to issue helper.

#5 Updated by Go MAEDA 17 days ago

  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

#6 Updated by Go MAEDA 15 days ago

  • Status changed from Confirmed to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you.

Also available in: Atom PDF