ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Custom Fields are not on Atom Feed (Bug #1085)


Added by David Busby at 2012-07-20 01:26 am. Updated at 2012-08-20 02:48 pm.


Status:Open Start date:2012-07-20
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Time entries
Target version:-
Remote issue URL: Affected version:3.3.0

Description

I added a custom field to the 'Log Time' data - called it 'Billed' so I know when it's billed :D

But the Atom feed from

/chili/activity.atom?set_filter=1&show_time_entries=1

doesn't show that field :( I feed that Atom to my billing software and it would be super cool.


History

Updated by Holger Just at 2012-08-20 02:44 pm

(pulling this out of 3.4.0 until the code is ready)

I can reproduce the issue, however, I'm a bit unsure about how to effectively solve it.

  1. Where should the custom fields be included into the feed? Right now, we only show the description of events (the time entry comment in this case). We could either include it into the description, similar to the notitifcation emails for issues) or we could extend the Atom with a new namespace and add the custom fields as XML entries (or even both). In the former case, it would be shown by feed readers but would be rather hard to programatically consume. In the latter case, the added content would probably not be displayed by normal feed readers but would be easier to use by custom programs consuming the feed.
  2. The activity HTML view as well as the feed show the last couple of events (based on their creation date). This means, time entries are not shown in the feed again when they are updated, which I assume might mean you lose some changes to your system). A solution for this could be to "journalize" the time entries in order to remember any changes and show change events in the activity view.
  • Affected version changed from master to 3.3.0
  • Target version deleted (3.4.0)

Updated by Holger Just at 2012-08-20 02:48 pm

  • Estimated time deleted (2.00)

Also available in: Atom PDF