Project

General

Profile

Actions

Feature #36823

closed

Allow to import time entries for issues in different projects

Added by Jens Krämer almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Importers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

As it is now, the time entry import only allows to import time entries for a single, pre-selected project. Because time entries can only be imported for already existing issues (which in turn already belong to a project), by definition that pre-selected project is only relevant for time entries that are not attached to any issue.

The attached patch that was extracted from Planio allows to import time entries for issues across different projects. This is achieved simply by ignoring the user-selected project for those rows where an issue id is present, letting the existing logic in TimeLogEntry#safe_attributes= determine the project id.

This is somewhat related to #25808.


Files

Actions

Also available in: Atom PDF