Skip to end of banner
Go to start of banner

GDPR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Project roles/groups instead of usernames


  • currentUser — Returns the key for the user that invoked the script containing currentUser.
  • currentUserKey — Returns the key for the user that invoked the script containing currentUserKey.
  • currentUsername — Returns the username for the user that invoked the script containing currentUsername.

getUserName
getUserEmail
getFullName

  • isAnyUserAuthenticated — Verifies if there is a logged in user.
  • isTeamLeader — Verifies if the specified user is a team leader on the project (if it is a component lead).
  • isUserInRole — Returns "true" if the user has a certain role on the specified project.
    • projectMembers — Returns a list with all the user names of the users who have a role in the specified project.
    • projectPM — Returns the username 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.
    • projectsForUser — Returns all the projects where this user has permission to assign or to be assigned issues.
    • projectsWithPermissionForUser — Retrieves the project keys where the given user has the given permission.
    • removeUserFromGroup — Removes a single user from a group if the user is in that group.
    • removeUserFromProjectRole — Removes a single user from a project role if the user is in that role.
    • resetUserPassword — Creates a dashboard with a name, an owner and a description.
    • runAs — Assumes a user when running a script.
    • userEmailAddress — Returns the email address of the selected user. The email address may be needed to supply it to various external systems.
    • userExists — Verifies if the selected user is registered Jira user.
    • userFullName — Returns the full name (firstname, lastname) of the user.
    • userGroups — Returns the groups the selected user belongs to.
    • userHasAccessToComment — Verifies if a comment is visible for an user.
    • userInGroup — Verifies if the selected user is in the selected group(s).
    • userKeyToUsername — Returns the username for the provided user key.
    • userLanguage — Returns the language for an user.
    • userLocale — Returns the locale for a user.
    • usernameToUserKey — Returns the user key for the provided username.
    • userRoles — Returns the roles of the provided user in the project.
    • usersInGroups — Returns a list of users common to all the specified groups.
    • usersInRole — Returns the users that corespond to a certain role on the specified project.

  • No labels