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.
  • Get started
  • Configuration guides
  • Integration guides
  • 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
      • Jira Integration Functions
        • Attachment Functions
        • Comment Functions
        • Custom Field Functions
        • Group Functions
        • Issue Functions
        • Jira System Functions
        • Link Functions
        • Project Functions
          • allProjects
          • getComponent
          • getComponents
          • getComponentsObjects
          • getProjectComponentLead
          • getProjectKeyByName
          • getProjectRoleIdByName
          • getTeamLeaders
          • getVersion
          • getVersions
          • getVersionsObjects
          • issueTypesForProject
          • projectMembers
          • projectPM
          • projectsForPM
          • issueTypeIdsForProject
          • issueTypeIdForProject
          • getProjectKeyById
          • getProjectIdByKey
        • User Functions
        • Workflow Functions
        • Worklog 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.
    /
    Project Functions
    Updated Aug 20

    Project Functions

    This section contains functions that enable users to handle projects.

    Functions Summary

    • allProjects β€” Returns a string array with the keys of all the projects in Jira.
    • getComponent β€” Returns a JComponent for either a component id or a specified project and component name.
    • getComponents β€” Returns the project components.
    • getComponentsObjects β€” Returns all the project components as an array of JComponent structures.
    • getProjectComponentLead β€” Returns the leader of the specified component from the specified project.
    • getProjectKeyByName β€” Retrieves the key for the project with the given name.
    • getProjectRoleIdByName β€” Retrieves the id for the project role with the given name.
    • getTeamLeaders β€” Returns the team leaders user keys on the specified project. All the component leads.
    • getVersion β€” Returns the project version.
    • getVersions β€” Returns the project versions (all).
    • getVersionsObjects β€” Returns all the project versions as an array of JVersion structures.
    • issueTypesForProject β€” Retrieves the issue types for the project with the given key.
    • projectMembers β€” Returns a list with all the user keys of the users who have a role in the specified project.
    • projectPM β€” Returns the user key of the project manager (project lead) of the selected project, if exists.
    • projectsForPM β€” Returns all the projects the selected user has the role of project manager (project lead) in.
    • issueTypeIdsForProject β€” Retrieves the issue types for the project with the given key.
    • issueTypeIdForProject β€” Retrieves the issue type id for the project with the given key and issue type
    • getProjectKeyById β€” Retrieves the key for the project with the given id.
    • getProjectIdByKey β€” Retrieves the id for the project with the given key.

    Can’t find what you are looking for? There are many more user functions in the User Administration section.

    Β 



    Need support? Create a request with our support team.

    Copyright Β© 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 18, "requestCorrelationId": "2bc2fa68db9e4c57bfabb60bfe5945c9"}