Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
© 2022 Yandex.Cloud LLC
Yandex Tracker
  • Getting started
    • Activating Yandex Tracker
    • Logging in to Yandex Tracker
    • Adding users
    • Configuring access to Yandex Tracker
    • Setting up Yandex Tracker
    • Working with Yandex Tracker
      • Home page
      • My issues
      • Working with issues
      • Favorite issues, boards, and dashboards
      • Personal settings
    • Migrating to Yandex Tracker
    • Disabling paid services
  • Yandex Tracker mobile app
  • Practical guidelines
    • Setting up Yandex Tracker for a development team
      • Overview
      • Creating a queue for a development team
      • Structuring issues
      • Using Agile methodologies
      • Configuring issue templates
      • Connecting repositories
      • Automating recurring actions
      • Integrating Yandex Tracker with other platforms
    • Setting up Yandex Tracker for a support team
      • Overview
      • Creating a queue for the support team
      • Accepting requests by mail and via forms
      • Configuring multi-tiered support
      • Sending emails from the issue page
      • Grouping requests by topic
      • Tracking the time it takes to process a request
      • Collect requests statistics
      • Configuring integration with third-party platforms
  • Concepts
    • Yandex Tracker overview
    • Concepts
  • Configuring queues
    • Overview
    • Creating a queue
    • Queue templates
    • Viewing issues in a queue
    • Changing basic queue settings
    • Configuring issue types and statuses
      • Overview
      • Configuring issue types
      • Create a workflow
      • Setting up statuses
      • Configuring transitions
      • Creating a resolution
    • Local issue fields
    • Adding a queue team
    • Setting access rights for queues
    • Advanced queue features
    • Viewing the history of queue changes
    • Deleting a queue
  • Working with issues
    • Creating an issue
      • Overview
      • Creating an issue via email
      • Creating an issue from a form
      • Cloning an issue
    • Editing an issue
      • Overview
      • Adding comments to issues
      • Creating a checklist
      • Editing issue links
      • Attaching images and files to an issue
      • Formatting text in issues
      • Executing macros
      • Voting for an issue
      • Moving an issue to another queue
      • Changing multiple issues
    • Setting up an issue reminder
    • Registering time spent
    • Adding issue fields
    • Viewing the history of issue changes
    • Getting access to an issue
    • Deleting an issue
  • Structuring issues
    • Overview
    • Links between issues
    • Projects
    • Components
    • Versions
  • Agile development tools
    • Overview
    • Creating a board
    • Working with an agile board
    • Editing and deleting a board
    • Sprints
    • Epics
    • Collaborative workload estimation
    • Burn down charts
  • Searching issues
    • Finding issues by key or name
    • Searching for my issues
    • Searching for issues in queues
    • Creating an issue filter
    • Query language
  • Notifications and subscriptions
    • Overview
    • Subscribing to notifications
    • Receiving update reports
    • Subscribing other users to queue updates
    • Notification settings
      • Overview
      • Notifications about your issues
      • Notifications about your subscriptions
  • Statistics and dashboards
    • Dashboards
      • Overview
      • Creating a dashboard
      • Widgets
      • Editing a dashboard
      • Shared access to dashboards
      • Making a dashboard your home page
    • Queue statistics
    • Gantt charts
  • Automation and templates
    • Overview
    • Triggers
      • Overview
      • Creating triggers
      • Setting trigger conditions
      • Configuring trigger actions
      • Editing and deleting triggers
      • Examples
    • Auto actions
      • Overview
      • Automatic issue updates
      • Scheduled issue creation
      • Editing or deleting auto actions
    • Macros
    • Templates
      • Overview
      • Creating a template
      • Editing a template
      • Deleting a template
      • Using shared templates
    • Variables
    • Using a form as a template for creating issues
  • Configuring an SLA for issues
    • Overview
    • Configuring rules
    • Work schedules
  • Integration with other services
    • Mail
    • Yandex Forms
    • Yandex Wiki
    • Messengers
      • Overview
      • Slack
      • Telegram
    • Setting up links to external applications
      • Overview
      • Setting up an external application
      • Sending your application data to the Tracker team
  • Developer tools
    • Plugin for IDE
    • API
    • Python client
    • Connecting repositories
  • Pricing policy
    • Pricing
    • Setting up a billing account
    • Topping up your personal account
    • Viewing service detalization
  • API reference
    • Overview
    • API access
    • Issues
      • Get issue parameters
      • Editing an issue
      • Creating an issue
      • Moving an issue to another queue
      • Find out the number of issues
      • Find issues
      • Release scroll view resources
      • Get priorities
      • Get issue links
      • Link issues
      • Get transitions
      • Make a status transition
      • Get the history of issue changes
    • Checklists
      • Create a checklist or add items to it
      • Get checklist parameters
      • Edit a checklist
      • Delete a checklist
    • Projects
      • Creating a project
      • Get project parameters
      • Get a list of all projects
      • Get a list of project queues
      • Edit a project
      • Deleting a project
    • Comments
      • Add comment
      • Get issue comments
      • Edit a comment
      • Delete a comment
    • Macros
      • Get queue macros
      • Get a macro
      • Creating a macro
      • Edit a macro
      • Delete a macro
    • External links
      • Get a list of external applications
      • Get a list of issue external links
      • Add an external link
      • Delete an external link
    • Attached files
      • Get a list of attached files
      • Download a file
      • Download a thumbnail
      • Attaching a file
      • Upload a temporary file
      • Delete a file
    • Queues
      • Creating a queue
      • Get queue parameters
      • Get a list of queues
      • Get queue versions
      • Get required fields for the queue
      • Deleting a queue
      • Restore a queue
      • Remove a tag from a queue
      • Automation
        • Receiving triggers
        • Creating triggers
    • Issue boards
      • Get parameters of all boards
      • Get board parameters
      • Creating a board
      • Edit a board
      • Delete a board
      • Columns
        • Get parameters of all columns
        • Get column parameters
        • Create a column
        • Edit a column
        • Delete a column
      • Sprints
        • Get all sprints of a board
        • Get a sprint
        • Create a sprint
    • Import
      • Import an issue
      • Import files
      • Import comments
      • Import links
    • Bulk operations
      • Perform a bulk move of issues to a different queue
      • Bulk changes to issues
      • Make bulk changes to issue statuses
    • Time tracking
      • Add a record of time spent
      • Edit a record of time spent
      • Delete a record of time spent
      • Get records of time spent
        • Get all records for an issue
        • Select records by parameters
    • Issue fields
      • Get global issue fields
      • Create an issue field
      • Get issue field parameters
      • Edit issue field names
      • Edit possible values of issue fields
      • Create an issue field category
      • Local fields
        • Create a local queue field
        • Get local queue fields
        • Get information about a local queue field
        • Edit a local queue field
    • Get information about the current user
    • Possible response codes
  • FAQ
  • Support
  1. API reference
  2. Issues
  3. Link issues

Link issues

Written by
Yandex Cloud
  • Request format
  • Response format

Use this request to create links between two issues. A link is created between the current issue (specified in the issue-id request parameter) and the linked one (specified in the issue field of the request body).

Request format

Before making the request, get permission to access the API.

To create links, use an HTTP POST request:

POST /v2/issues/<issue-id>/links
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-ID: <organization ID>

{
    "relationship": "<link type>",
    "issue": "<issue>"
}
Headers
  • Host

    Address of the node that provides the API:

    https://api.tracker.yandex.net
    
  • Authorization

    OAuth token in OAuth <token value> format. For example:

    OAuth 0c4181a7c2cf4521964a72ff57a34a07
    
  • X-Org-ID

    Organization ID.

Resource
Parameter Description Data type
<issue-id> ID or key of the current issue. String
Request body parameters

Required parameters

Parameter Description Format
relationship Type of links between issues:
  • relates: Simple link.
  • is dependent by: The current issue blocks the linked one.
  • depends on: The current issue depends on the linked one.
  • is subtask for: The current issue is a sub-issue of the linked one.
  • is parent task for: The current issue is a parent issue of the linked one.
  • duplicates: The current issue duplicates the linked one.
  • is duplicated by: The linked issue duplicates the current one.
  • is epic of: The current issue is an epic of the linked one. You can only set this type of link for Epic-type issues.
  • has epic: The linked issue is an epic of the current one. You can only set this type of link for Epic-type issues.
String
issue ID or key of the issue being linked. String

Example: Creating a link

  • An HTTP POST method is used.
POST /v2/issues/TEST-1/?links HTTP/1.1
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-ID: <organization ID>

{
    "relationship": "relates",
    "issue": "TREK-2"
}

Response format

Successful execution of the request
The request failed

If the request is successful, the API returns a response with code 201 Created.

The response body contains the results in JSON format.

  {
    "self" : "https://api.tracker.yandex.net/v2/issues/TEST-1/links/1048570",
    "id" : 1048570,
    "type" : {
      "self" : "https://api.tracker.yandex.net/v2/linktypes/relates",
      "id" : "relates",
      "inward" : "relates",
      "outward" : "relates"
    },
    "direction" : "inward",
    "object" : {
      "self" : "https://api.tracker.yandex.net/v2/issues/STARTREK-2",
      "id" : "4ff3e8dae4b0e2ac27f6eb43",
      "key" : "TREK-2",
      "display" : "NEW!!!"
    },
    "createdBy" : {
      "self" : "https://api.tracker.yandex.net/v2/users/1120000000004859",
      "id": "<employee ID>",
      "display": "<employee name displayed>"
    },
    "updatedBy" : {
      "self": "https://api.tracker.yandex.net/v2/users/1120000000049224",
      "id": "<employee ID>",
      "display": "<employee name displayed>"
    },
    "createdAt" : "2014-06-18T12:06:02.401+0000",
    "updatedAt" : "2014-06-18T12:06:02.401+0000"
  }
Response parameters
Parameter Description Data type
self Address of the API resource with information about the link. String
id Link ID. Number
type Block with information about the link type. Object
direction Link type of the issue specified in the request in relation to the issue specified in the object field. Possible values:
  • outward: The issue specified in the request is the main one for the issue in the object field.
  • inward: The issue specified in the object field is the main one for the issue in the request.
String
object Block with information about the linked issue. Object
createdBy Block with information about the user who created the link. Object
updatedBy Block with information about the user who edited the linked issue last. Object
createdAt Link creation date and time. String
updatedAt Link update date and time. String
assignee Assignee of the linked issue. Object
status Status of the linked issue. Object

Object fields type

Parameter Description Data type
self Link to the link type. String
id ID of the link type. String
inward Name of the link type of the issue specified in the object field in relation to the issue specified in the request. String
outward Name of the link type of the issue specified in the request in relation to the issue specified in the object field. String

Object fields object

Parameter Description Data type
self Address of the API resource with information about the issue. String
id Issue ID. String
key Issue key. String
display Issue name displayed. String

Object fields createdBy

Parameter Description Data type
self Address of the API resource with information about the user. String
id User ID. String
display User's name displayed. String

Object fields updatedBy

Parameter Description Data type
self Address of the API resource with information about the user. String
id User ID. String
display User's name displayed. String

Object fields assignee

Parameter Description Data type
self Address of the API resource with information about the user. String
id User ID. String
display User's name displayed. String

Object fields status

Parameter Description Data type
self Address of the API resource with information about the status. String
id Status ID. String
key Status key. String
display Status name displayed. String

If the request is processed incorrectly, the API returns a response with an error code:

404
The requested object was not found. You may have specified an invalid object ID or key.

Was the article helpful?

Language / Region
© 2022 Yandex.Cloud LLC
In this article:
  • Request format
  • Response format