Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8998 closed enhancement (wontfix)

Export tickets to files

Reported by: chistilina_tn@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

How is it possible to export tickets to the files. Is it possible to build a query that would export each ticket in a separate file or at least all the tickets in a single file.

Attachments (0)

Change History (4)

comment:1 by Remy Blank, 10 years ago

Resolution: wontfix
Status: newclosed
Summary: Экспорт всех билетиков в файлExport tickets to files

It's not possible out-of-the-box, but it's quite simple to implement. As there's no standard format for representing tickets as files, this will be highly dependent on the use case. A standard implementation in Trac core is therefore hardly possible, hence closing as "wontfix".

The API for accessing the database is described in TracDev/DatabaseApi, and the model objects (Ticket in particular) in TracDev/DataModels#Ticket. That should hopefully get you started. If you need any help, please ask on the MailingList or the IrcChannel.

in reply to:  1 comment:2 by Christian Boos, 10 years ago

Replying to rblank:

… there's no standard format for representing tickets as files

See #8383.

comment:3 by Remy Blank, 10 years ago

Ok, so it's a duplicate. OTOH, using the model API to export the data in a use-case specific format is probably easier for the OP than parsing RDF…

in reply to:  3 comment:4 by Christian Boos, 10 years ago

Replying to rblank:

Ok, so it's a duplicate.

It's also somehow related to DistributedTrac and the idea to have a distributed store to keep the data, the db being used as a "cache" but not as the primary data container.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.