Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Bamboo Command Line Interface (CLI)
Results will update as you type.
  • User's Guide
    • Reference
      • Actions
        • addAgent
        • addAgentAssignment
        • addApplicationLink
        • addArtifact
        • addArtifactDependency
        • addBranch
        • addCapability
        • addComment
        • addCredentials
        • addEnvironment
        • addEnvironmentNotification
        • addEnvironmentRequirement
        • addEnvironmentTask
        • addEnvironmentTrigger
        • addEnvironmentVariables
        • addGroup
        • addJob
        • addLabels
        • addNotification
        • addRepository
        • addRequirement
        • addStage
        • addTask
        • addTrigger
        • addUser
        • addVariables
        • cloneEnvironment
        • clonePlan
        • cloneProject
        • createDeploymentProject
        • createPlan
        • createProject
        • deleteDeploymentProject
        • deletePlan
        • deleteProject
        • deployEnvironment
        • disableAgent
        • disableJob
        • disablePlan
        • disableProject
        • enableAgent
        • enableJob
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    addAgentAssignment

    addAgentAssignment

    Nov 10, 2023

    See also: Actions

    Description

    Assign a project, plan, job, deployment project, or environment to a specific agent. This makes the agent dedicated to only perform builds for all assignments. If deployment or environment names are used instead of keys, type must be provided to indicate assignment represents a DEPLOYMENT_PROJECT or ENVIRONMENT. Use continue to ignore already exists error. Use autoAgent to automatically create a local agent if it does not already exist.

    Required Parameters

    agent, assignment

    Optional Parameters

    type, autoAgent, options, continue

    Type

    Create

    Category

    Agents

    Output Formats

    Replacement Variables

    Since Version

    Examples

    addAgentAssignment

    Related How To's

    , multiple selections available, Use left or right arrow keys to navigate selected items
    cli-action
    cli-action-addagentassignment
    cli-parameter-agent
    cli-parameter-assignment
    cli-parameter-type
    cli-parameter-autoagent
    cli-parameter-options
    cli-parameter-continue
    cli-parameter-action
    cli-parameter-dateformat
    cli-parameter-dateformat2
    cli-parameter-help
    cli-parameter-outputtype
    cli-parameter-special
    cli-parameter-quiet
    cli-parameter-verbose
    cli-parameter-debug
    cli-action-type-create
    cli-action-category-agents

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 15, "requestCorrelationId": "0b48f9356117443eb4f97d4eb58a502c"}