Method: Gitlab::Client::IssueLinks#create_issue_link
- Defined in:
- lib/gitlab/client/issue_links.rb
#create_issue_link(project, issue, target_project_id, target_issue_iid) ⇒ Gitlab::ObjectifiedHash
Creates a new issue link.
31 32 33 |
# File 'lib/gitlab/client/issue_links.rb', line 31 def create_issue_link(project, issue, target_project_id, target_issue_iid) post("/projects/#{url_encode project}/issues/#{issue}/links", body: { target_project_id: target_project_id, target_issue_iid: target_issue_iid }) end |