Opened 6 years ago

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

Reported by: Owned by: sean Odd Simon Simonsen normal XmlRpcPlugin normal ticket references 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.

comment:1 in reply to:  description Changed 6 years ago by Odd Simon Simonsen

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 6 years ago by anonymous

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

comment:3 Changed 6 years ago by Odd Simon Simonsen

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