Using Macros in Rules
<Any>
Use the <Any> macro in conditions to define a rule that applies to any value of a field, including <Empty>. For example, in the default workflow, the Admins-<Any> rule allows members of the Admins group to set any value in the Progress field.
<Empty>
Use the <Empty> macro in conditions to define a rule that applies when a field is empty.
<User>
<User> represents the current user (the user currently logged on to the Web view). You can use <User> in conditions, as a possible value, and as a dependent value.
<New Issue>
<New Issue> is used to create rules that apply only when an issue is created.
For example, to ensure all issues submitted by managers have high priority by default, a rule like this can be created:
Condition |
Dependent Values |
<New Issue> = Yes |
Priority=High |
<User in Group> = Managers |
|
If the <New Issue> condition is not included, the manager would not be able to change the priority because the rule would reset the value to High when the issue is saved.
<Value of Field???>
This macro allows you to define a Dependent Values rule that assigns the value of a field to another field. For example, when an issue is fixed, a workflow rule could set the value of the Fixed By field to <Value of Owner>.
When you add a dependent values rule, you’ll see the <Value of Field???> macro in the Values column of the Dependent Values table. Double-click <Value of Field???> and then select the field whose value you want to use.
By default, the Submitter field is not enabled. To use the field in the <Value of Field ???> macro, you must enable it using the Field Editor in HelpDesk Admin.
Related Topics
What Can You Do with Workflow Rules?