#8872 closed enhancement (fixed)
tracing of (requirement) tickets at test cases
| Reported by: | andreas.podskalsky@… | Owned by: | seccanj |
|---|---|---|---|
| Priority: | normal | Component: | TestManagerForTracPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Attachments (1)
Change History (7)
comment:1 Changed 2 years ago by seccanj
comment:2 Changed 2 years ago by andreas.podskalsky@…
Your "Linking a Ticket to a Test Case" is great for writing defect tickets when we find an error during testing.
But we have existing tickets which we want to link to the testcase during creation of that testcase.
Our usecase:
1) someone is writing a feature description to ticket #12345 (ticket type "feature" or "requirement")
2) the tester will write a testcase which depends on that ticket #12345 and maybe more tickets
comment:3 Changed 2 years ago by seccanj
Hi Andreas,
I seem to remember this was just implemented, so I checked and yes I was right :D
As you can see from the attached screenshot, the TestManagerPlugin already adds a couple of custom ticket fields for recording the Terst Case and optionally the Test Plan associated to a Ticket.
These fields are automatically filled when opening a ticket from a test case, but in your case you can simply fill them manually.
You can then use the XML-RPC apis to query test cases related to tickets or vice-versa.
If you want to have a hyperlink in the ticket text itself (for example in a comment), just add it following the format used by the "Open a ticket on this test case" button, which is for example:
[wiki:TC_TT0_TC1]
where TC_TT0_TC1 is the test case wiki page name.
LEt me know if this is OK.
Ciao,
Roberto
Changed 2 years ago by seccanj
comment:4 Changed 2 years ago by seccanj
Just to better clarify the answer, since your requirement is to be able to see the tickets related to a test case, of course you can do it by using the "Show related tickets" button on the test case page.
This only works if you actually add the test case wiki page name in the ticket description, as in:
[wiki:TC_TT0_TC1]
Hope this clarifies better.
Ciao,
Roberto
comment:5 Changed 2 years ago by seccanj
- Resolution set to fixed
- Status changed from new to closed
I assume the answer satisfies your requirement.
Ciao,
Roberto
comment:6 Changed 2 years ago by andreas.podskalsky@…
Thanks for your great support !


Hi Andreas,
the plugin already has linking tickets to test cases and vice versa.
Is this what you were looking for?
Ciao,
Roberto