Class: GitlabQuality::TestTooling::GitlabClient::WorkItemsDryClient
- Inherits:
-
WorkItemsClient
show all
- Defined in:
- lib/gitlab_quality/test_tooling/gitlab_client/work_items_dry_client.rb
Instance Method Summary
collapse
#group_work_items, #paginated_call, #update_note, #work_item
#initialize, #post
Instance Method Details
#add_labels(work_item_id:, label_ids:) ⇒ Object
19
20
21
|
# File 'lib/gitlab_quality/test_tooling/gitlab_client/work_items_dry_client.rb', line 19
def add_labels(work_item_id:, label_ids:)
puts "The following labels would have been added to #{project}##{work_item_id} work item: #{label_ids.join(', ')}"
end
|
#create_discussion(id:, note:) ⇒ Object
7
8
9
|
# File 'lib/gitlab_quality/test_tooling/gitlab_client/work_items_dry_client.rb', line 7
def create_discussion(id:, note:)
puts "The following discussion would have been posted on #{project}##{id} epic:\n\n #{note}"
end
|
#create_discussion_note(work_item_id:, discussion_id:, text:) ⇒ Object
11
12
13
|
# File 'lib/gitlab_quality/test_tooling/gitlab_client/work_items_dry_client.rb', line 11
def create_discussion_note(work_item_id:, discussion_id:, text:)
puts "The following discussion note would have been posted on #{project}##{work_item_id} (discussion #{discussion_id}) text:\n\n #{text}"
end
|
#create_linked_items(work_item_id:, item_ids:, link_type: 'BLOCKED_BY') ⇒ Object
15
16
17
|
# File 'lib/gitlab_quality/test_tooling/gitlab_client/work_items_dry_client.rb', line 15
def create_linked_items(work_item_id:, item_ids:, link_type: 'BLOCKED_BY')
puts "The following items would have been linked on #{project}##{work_item_id} (link type: #{link_type}) item_ids: #{item_ids.join(', ')}"
end
|