LogoLogo
  • Welcome
  • Guides
    • What's Warp?
    • Setup Guide
      • Install the Prerequisites
      • Create and Configure Your Project
      • Set Up Your Vault
      • Scan Your Sources for Repositories
      • Migrate a Repository
  • Product
    • Core Concepts
    • Roadmap
  • Migrations
    • Azure DevOps
      • Service Connections
      • Limitations
    • Bitbucket Server
      • Limitations
  • Using Warp
    • Migration HQ
      • Issues
        • Issue Page
      • Labels
      • Warp.yml
      • Warpspaces
      • Runner Agent
    • Projects
      • Dashboard
      • Team
      • Capacity
      • Settings
    • Slash Commands
      • Global
        • /help
      • Migration
        • /migrate
        • /rename-destination
      • Backlog Issue
        • /refresh
      • Azure DevOps
        • /rewire-pipeline
        • /rewire-all-pipelines
        • /integrate-boards
        • /autolink-work-items
        • /lock-ado-repo
        • /disable-ado-repo
      • GitHub
        • /add-team
    • Support
      • Warp for Copilot
      • Partners
      • Knowledge Base
    • Warp Vault
      • Download Warp Vault
        • Verify Your Copy of Warp Vault
      • Supported Credential Providers
        • Amazon S3 Storage
        • Azure Blob Storage
        • Azure DevOps Services
        • Bitbucket Server
        • GitHub (Destination)
      • Using Credentials in Scripts
        • Vault Schema
          • Amazon S3 Credential Schema
          • Azure Blob Storage Credential Schema
          • Azure DevOps Services Credential Schema
          • Bitbucket Server Credential Schema
          • GitHub (Destination) Credential Schema
  • Warp CLI
  • Security
    • Security at Packfiles
    • Warp's Security Model
      • Credential Management
      • Private Compute
      • Data Privacy
  • Billing & Licensing
    • Overview
    • Free Tier
Powered by GitBook
LogoLogo

Helpful Links

  • Get Warp
  • Terms of Service
  • Privacy Policy

© 2025 Packfiles Inc

On this page
  • Description
  • Example
  • Authorization
  • Code Examples
  • TypeScript
  • JavaScript
  • Ruby
  • Go
  • Rust

Was this helpful?

Edit on GitHub
Export as PDF
  1. Using Warp
  2. Slash Commands
  3. Azure DevOps

/autolink-work-items

Previous/integrate-boardsNext/lock-ado-repo

Last updated 4 months ago

Was this helpful?

Description

Configures Autolink References in the destination GitHub repository so that references to Azure Boards work items become clickable hyperlinks.

Example

/autolink-work-items

Authorization

  • Not required.

Code Examples

TypeScript

interface WorkItem {
    id: number;
    title: string;
}

function autolinkWorkItems(items: WorkItem[]) {
    items.forEach(item => {
        console.log(`Configuring Autolink for Work Item: ${item.id} - ${item.title}`);
    });
}

const workItems: WorkItem[] = [
    { id: 1, title: "Fix bug in login" },
    { id: 2, title: "Add new feature" }
];

autolinkWorkItems(workItems);

JavaScript

function autolinkWorkItems(items) {
    items.forEach(item => {
        console.log(`Configuring Autolink for Work Item: ${item.id} - ${item.title}`);
    });
}

const workItems = [
    { id: 1, title: "Fix bug in login" },
    { id: 2, title: "Add new feature" }
];

autolinkWorkItems(workItems);

Ruby

WorkItem = Struct.new(:id, :title)

def autolink_work_items(items)
  items.each do |item|
    puts "Configuring Autolink for Work Item: #{item.id} - #{item.title}"
  end
end

work_items = [
  WorkItem.new(1, "Fix bug in login"),
  WorkItem.new(2, "Add new feature")
]

autolink_work_items(work_items)

Go

package main

import "fmt"

type WorkItem struct {
    ID    int
    Title string
}

func autolinkWorkItems(items []WorkItem) {
    for _, item := range items {
        fmt.Printf("Configuring Autolink for Work Item: %d - %s\n", item.ID, item.Title)
    }
}

func main() {
    workItems := []WorkItem{
        {ID: 1, Title: "Fix bug in login"},
        {ID: 2, Title: "Add new feature"},
    }

    autolinkWorkItems(workItems)
}

Rust

struct WorkItem {
    id: u32,
    title: String,
}

fn autolink_work_items(items: Vec<WorkItem>) {
    for item in items {
        println!("Configuring Autolink for Work Item: {} - {}", item.id, item.title);
    }
}

fn main() {
    let work_items = vec![
        WorkItem { id: 1, title: String::from("Fix bug in login") },
        WorkItem { id: 2, title: String::from("Add new feature") },
    ];

    autolink_work_items(work_items);
}
View in Knowledge Base