Differences
This shows you the differences between two versions of the page.
711:scripting_dataset [2024/08/29 14:19] – created - external edit 127.0.0.1 | 711:scripting_dataset [2025/03/19 08:04] (current) – [Global Script Variables] Weinlein, Thomas | ||
---|---|---|---|
Line 10: | Line 10: | ||
* Description: | * Description: | ||
* getProjectsByName(str) | * getProjectsByName(str) | ||
- | * str is the name of a project | + | * str is the name of a project/workspace |
- | * returns an array of Project | + | * returns an array of project/ |
* getProjectByPath (str) | * getProjectByPath (str) | ||
- | * str is the path of a project, parent are separated by | e.g. Methodpark | + | * str is the path of a project/workspace, parent are separated by | e.g. Company |
* returns the project element | * returns the project element | ||
* getRootProject() | * getRootProject() | ||
- | * returns the root project element | + | * returns the root project/ |
* getCurrentProject() | * getCurrentProject() | ||
- | * returns the project element where the report is located | + | * returns the project/ |
+ | * getAllProjects() | ||
+ | * returns an array of all project/ | ||
* getCurrentProcess() | * getCurrentProcess() | ||
* returns the currently viewed process version of the active workspace | * returns the currently viewed process version of the active workspace | ||
+ | * getUserByUsername(userName) | ||
+ | * returns the user identified by the given username | ||
+ | * getAllUsers() | ||
+ | * returns an array of all users | ||
+ | * getAllRoles() | ||
+ | * returns an array of all roles in valid versions | ||
+ | * getAllUserGroups() | ||
+ | * returns an array of all user permission groups | ||
+ | * getAllParticipants() | ||
+ | * returns an array of all participants | ||
+ | * getAllStates() | ||
+ | * returns an array of all release automation states | ||
+ | * getAllWorkflows() | ||
+ | * returns an array of all release automations | ||
+ | * getAllWorkflowInstances() | ||
+ | * returns an array of all running release automations | ||
+ | * getAllTasks() | ||
+ | * returns an array of all open tasks | ||
+ | * getProcessVersionIdentifier() | ||
+ | * returns the identifier for the currently viewed process version | ||
+ | * sqlQuery(query) | ||
+ | * needs config property metrics.sql.enabled | ||
+ | * returns an array of result rows | ||
**Dataset** | **Dataset** |