gitlab_time_tracker-8.x-1.x-dev/modules/gitlab_time_tracker_migration/config/install/migrate_plus.migration.gitlab_time_tracker_node_issue.yml
modules/gitlab_time_tracker_migration/config/install/migrate_plus.migration.gitlab_time_tracker_node_issue.yml
id: gitlab_time_tracker_node_issue
migration_group: gitlab_time_tracker
label: 'Gitlab issue'
source:
plugin: gitlab_issue
track_changes: true
project_id: 1
process:
title: title
body: description
field_gitlab_id: id
field_gitlab_iid: iid
langcode:
plugin: default_value
source: language
default_value: und
uid:
-
plugin: extract
source: author
index:
- id
-
plugin: migration_lookup
migration: gitlab_time_tracker_user
no_stub: true
-
plugin: default_value
default_value: 1
field_user:
-
plugin: extract
source: author
index:
- id
-
plugin: migration_lookup
migration: gitlab_time_tracker_user
no_stub: true
-
plugin: default_value
default_value: 1
status:
plugin: default_value
default_value: 1
field_project:
plugin: migration_lookup
source: project_id
migration: gitlab_time_tracker_node_project
no_stub: true
field_last_synchronization_date:
plugin: gitlab_time_tracker_date
source: updated_at
created:
plugin: gitlab_time_tracker_date
format: "U"
source: created_at
field_milestone:
-
source: milestone
plugin: default_value
default_value: []
-
plugin: extract
default: []
index:
- id
-
plugin: migration_lookup
migration: gitlab_time_tracker_node_milestone
no_stub: true
field_estimation:
-
plugin: extract
source: time_stats
default: 0
index:
- time_estimate
-
plugin: gitlab_time_spent
field_time_spent:
-
plugin: extract
source: time_stats
default: 0
index:
- total_time_spent
-
plugin: gitlab_time_spent
field_url: web_url
destination:
plugin: 'entity:node'
default_bundle: issue
migration_dependencies:
required:
- gitlab_time_tracker_user
- gitlab_time_tracker_node_project
