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.
  • 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
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    admUpdateProjectVersion
    Updated Aug 12

    admUpdateProjectVersion

    Syntax

    admUpdateProjectVersion(versionStruct)

    Package

    adm

    Alias

     

    Pkg Usage

    updateVersion(versionStruct)

    Description

    Updates the version of the project by the id field. The version name of the project is unique and it has an id version that corresponds with it.

    Parameters

    Parameter name

    Type

    Required

    Description

    Parameter name

    Type

    Required

    Description

    versionStruct

    JVersion

    Yes

    Version id and the version name should have values assigned.

    Return Type

    String / Boolean

    You can safely ignore the return value of this function on server. On cloud it will return true if the version is updated and false otherwise.

    Example

    JVersion jVersion; jVersion.id = 10201; jVersion.name = "Version2"; jVersion.description = "This is the second version."; jVersion.startDate = "2014-10-27"; jVersion.releaseDate = "2014-10-30"; return admUpdateProjectVersion(jVersion);

    This function updates only the name, description, startDate and releaseDate fields. The archived and released fields can be updated using admArchiveProjectVersion and admReleaseProjectVersion functions. Name must be unique.

    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": 13, "requestCorrelationId": "927d681bf29a44a68709db85e7c8d257"}