Ticket #8872 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

tracing of (requirement) tickets at test cases

Reported by: andreas.podskalsky@siemens.com Assigned to: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

It would be fine to have a tracing of testcases to tickets like requirements or enhancements.

At the ticket we want to see if there is one or more a testcase which was created depending on it.

At the testcase we want to see if there is one ore more tickets depending on it.

Attachments

CustomTicketField.JPG (102.2 kB) - added by seccanj on 06/14/11 12:16:41.

Change History

06/09/11 10:46:24 changed by seccanj

Hi Andreas, the plugin already has linking tickets to test cases and vice versa.

Is this what you were looking for?

Ciao, Roberto

06/09/11 11:12:52 changed by andreas.podskalsky@siemens.com

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

06/14/11 12:15:01 changed 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

06/14/11 12:16:41 changed by seccanj

  • attachment CustomTicketField.JPG added.

06/14/11 12:24:55 changed 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

07/11/11 20:09:09 changed by seccanj

  • status changed from new to closed.
  • resolution set to fixed.

I assume the answer satisfies your requirement. Ciao, Roberto

07/12/11 08:12:44 changed by andreas.podskalsky@siemens.com

Thanks for your great support !


Add/Change #8872 (tracing of (requirement) tickets at test cases)




Change Properties
Action