#10735 closed enhancement (fixed)
create a new ticket starting from an existing ticket comment
Reported by: | Christian Boos | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | ticket system | Version: | 0.13dev |
Severity: | normal | Keywords: | ticketclone jinja2 |
Cc: | Branch: | ||
Release Notes: |
The |
||
API Changes: | |||
Internal Changes: |
Description
The idea is much the same as the one for TicketClone, but instead of "cloning" the whole ticket in intent (as materialized by copying the ticket's description over), we would refine a specific ticket comment (by taking the ticket's comment as the new ticket description).
This can be handy to avoid derailing a ticket into handling too many things at once, so when something is identified and that clearly needs a dedicated treatment, making a new ticket out of it is just a click away, and you'll have the new ticket starting off with the same fields as the "parent" ticket (yes, the same UI could lead to the creation of subtickets once we have that).
Interestingly, the current source:trunk/tracopt/ticket/clone.py@11079 feature is implemented as an extension using Genshi (ITemplateStreamFilter
). The present extension achieves a similar result but relies on JavaScript only. For now, only the "create from comment" is done via JavaScript (well, CoffeeScript actually, as this is better suited for embedding little HTML snippets), but the "clone ticket" action itself could be ported to js as well.
This could even be generalized and provide a sound basis for #3255.
Related branches
Attachments (0)
Change History (9)
comment:1 by , 12 years ago
comment:2 by , 10 years ago
Milestone: | next-dev-1.1.x → next-major-releases |
---|
Retargetting tickets to narrow focus for milestone:1.2. Please move the ticket back to milestone:next-dev-1.1.x if you intend to resolve it by milestone:1.2.
comment:3 by , 10 years ago
Owner: | removed |
---|
comment:4 by , 9 years ago
Keywords: | jinja2 added |
---|---|
Milestone: | next-major-releases → next-dev-1.3.x |
Reusing this as the basis for ITemplateStreamFilter
replacement.
comment:5 by , 9 years ago
Owner: | set to |
---|---|
Priority: | high → normal |
Status: | new → assigned |
Branch rebased on jinja2, in cboos.git@clone-from-comment-jinja2.
Resuming normal work in jinja2 branch by taking advantage of what was done here to get rid of the ITemplateStreamFilter
provider in the TicketCloneButton
component (see cboos.git@34e04dd7).
Now something similar needs to be done for the ticket deleter.
comment:6 by , 8 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Implemented part of r15436.
comment:7 by , 8 years ago
Milestone: | next-dev-1.3.x → 1.3.2 |
---|---|
Release Notes: | modified (diff) |
comment:9 by , 8 years ago
Replying to Ryan J Ollos:
The clone links here direct to
https://newticket/
.
Thanks for spotting, fixed in r15515. I really need to get started on Selenium… (#11988)
Rebased branch on latest #10012 changes, for using the latest styling for the '+' symbol button: repos:cboos.git:clone-from-comment-t10012-r11112