Description
The projectFlavor
function returns the value of a flavor assigned to a project. This allows access to specific project flavors within formulas.
Syntax
projectFlavor(name)
Arguments
Argument | Description |
---|---|
name |
The name of the flavor whose value should be retrieved from the project. |
Return Types
The function returns the value of the specified project flavor. The type depends on the flavor and can be text, a number, or a date.
Examples
Description | Formula | Result |
---|---|---|
Retrieve a text flavor value |
projectFlavor("Project Manager") |
Returns the name of the project manager, e.g., "Anna Müller" |
Retrieve a numeric flavor value |
projectFlavor("Project Budget") |
Returns the project's budget value, e.g., 20000 |
Use within a formula |
projectFlavor("Project Hours") * 1.2 |
Calculates the project hours with a 20% increase. |
Notes
- Flavor Names: The specified flavor name must match the name of the flavor defined in the project.
- Case Sensitivity: Flavor names are case-sensitive.
- Project-Specific: This function only works with flavors assigned to projects and not with task flavors.
Comments
0 comments
Please sign in to leave a comment.