Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
This function returns the ID of the project with a given name or key or name. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
projectId(keyOrNamenameOrKey) #Output: Number |
UI Expand | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
|
UI Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Parameters used in this function
|
UI Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
This function returns a
If there is no project with the given key or name, the function returns
|
UI Text Box | ||
---|---|---|
| ||
Use this function to retrieve a project ID for a given project key or name. Note that a partial project name will also work, but be aware that the function will return the ID of the project with an exact match of project key or project name, if existent, and otherwise will return the ID of the first project found. Prefer project keys over project names, and prefer full project names over partial ones. |
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|