python-redmine icon indicating copy to clipboard operation
python-redmine copied to clipboard

time_entry_activities support for project creation

Open lbayerlein opened this issue 2 years ago • 0 comments

Hi,

I have a question about creating new projects. Here is an example snippet:

project = redmine.project.create(
    name=pr_name,
    identifier=pr_id_name,
    description=pr_description,
    is_public=False,
    parent_id=parent_project,
    inherit_members=False,
    tracker_ids=pr_tracker_ids,
    enabled_module_names=['issue_tracking', 'time_tracking', 'issue_templates'],
    time_entry_activities=[{"id": 30, "name": "test"}]
)

All variables are set and the project is created. The time_entry_activities are default and should be configured with an create or an update function. But that does not work. Where is my mistake or hasn't it been supported, yet?

Thanks

lbayerlein avatar Jun 14 '22 11:06 lbayerlein