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)

Power Scripts for Jira Cloud
Results will update as you type.
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
        • Custom Field Administration Functions
        • Dashboard Functions
        • Field Configuration Functions
        • Filter Administration Functions
        • Group Administration Functions
        • Issue Administration Functions
        • Issue Type & IT Screen Scheme Administration Functions
        • Notification Administration Functions
        • Permissions Administration Functions
        • Priority Scheme Administration Functions
        • Project Administration Functions
          • admCreateProject
          • admCreateProjectFromTemplate
          • admDeleteProject
          • admProjectExists
          • admUpdateProject
          • Project Archive Administration Functions
          • Project Category Administration Functions
          • Project Component Administration Functions
          • Project Property Administration Functions
          • Project Scheme Administration Functions
          • Project Version Administration Functions
            • admAddProjectVersion
            • admArchiveProjectVersion
            • admDeleteProjectVersion
            • admReleaseProjectVersion
            • admSetProjectVersionReleaseDate
            • admSetProjectVersionStartDate
            • admUpdateProjectVersion
          • projectObject
        • Screen and Screen Schemes Administration Functions
        • System Administration Functions
        • User Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
      • Parameter Functions
      • Scheduling Functions
      • String Functions
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    admAddProjectVersion
    Updated Aug 12

    admAddProjectVersion

    Syntax

    admAddProjectVersion(pkey, versionName, versionDescription, releaseDate)

    Package

    adm

    Alias

     

    Pkg Usage

    addVersion(pkey, versionName, versionDescription, releaseDate)

    Description

    Adds a version in the project

    Parameters

    Parameter name

    Type

    Required

    Description

    Parameter name

    Type

    Required

    Description

    pkey

    String

    Yes

    Project key.

    versionName

    String

    Yes

    Version name.

    versionDescription

    String

    Yes

    Description.

    releaseDate

    Date

    Yes

    Release date.

    Return Type

    Boolean (true/false)

    Returns 'true' if the version was added and 'false' otherwise.

    It doesn't check if a version with the same name already exists. So far, Jira controller code allows the project version creation action.

    See also

    • Page:
      admDeleteProjectVersion
    • Page:
      admArchiveProjectVersion
    • Page:
      admSetProjectVersionStartDate
    • Page:
      admSetProjectVersionReleaseDate
    • Page:
      admAddProjectVersion
    • Page:
      admReleaseProjectVersion
    • Page:
      admUpdateProjectVersion
    • Page:
      getVersion
    • Page:
      getVersions
    Peacock

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 14, "requestCorrelationId": "d51c872b980f4a0d9bd1b0dbaa35b343"}