Project

General

Profile

Actions

Feature #36823

closed

Allow to import time entries for issues in different projects

Added by Jens Krämer about 2 years ago. Updated 5 months 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 #1

Updated by Marius BĂLTEANU about 2 years ago

  • Target version set to Candidate for next major release
Actions #2

Updated by Marius BĂLTEANU about 2 years ago

  • Target version changed from Candidate for next major release to 5.1.0
Actions #3

Updated by Marius BĂLTEANU almost 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Marius BĂLTEANU

Feature added, thanks!

Actions #4

Updated by Marius BĂLTEANU almost 2 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Go MAEDA 5 months ago

  • Tracker changed from Patch to Feature
  • Resolution set to Fixed
Actions

Also available in: Atom PDF