Modify

Opened 13 years ago

Last modified 13 years ago

#8666 new enhancement

Need a method to get the references (or called links) of a ticket

Reported by: sean Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords: ticket references
Cc: Trac Release: 0.12

Description

Tickets are usually organized in a hierarchy in software development, such as Requirement->Feature Story->Task. For a task ticket, I want to retrieve its parent feature story ticket. Currently there is no way to achieve this via XMLRPC API.

Attachments (0)

Change History (3)

comment:1 in reply to:  description Changed 13 years ago by osimons

Correct. Seeing that Trac ticket system does not know anything about 'parent' or 'hierarchy' or any similar concept. You are likely using some other plugin that implements this, right?

comment:2 Changed 13 years ago by anonymous

Keywords: references added; links removed

Is there any way to get the references of the ticket through XMLRPC?

comment:3 Changed 13 years ago by osimons

ticket.query() is available and provides you with the ticket IDs. If you have the ID you have the reference too as that is just .../ticket/<id>. Or do I not understand what you are asking?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain osimons.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.