Workflow Post Functions
- 1 Update Custom Fields
- 2 Clear Fields Value
- 3 Set Issue Security Level
- 4 Reindex Issue
- 5 Reset Fields Value
- 6 Mathematical
- 7 Add Notes
- 8 Get User Property
- 9 Set/Update User Property
- 10 Run Post Function Template
- 11 Manage User Groups In Custom Fields
- 12 Display Message to User
- 12.1 Example message body
- 13 Add/Remove Users To/From Groups
- 14 Availability
Update Custom Fields
The Update Custom Fields gives you ability to update custom fields values.
You can:
change fields value to new value
add new values to existing values (multi select fields)
remove values from existing values (multi select fields)
Custom field type | Expected values and format when setting the field | Examples |
---|---|---|
Text Field (single line) | Text value (any other type will be cast to text) | This is example text with line brake |
Number Field | Number | 1 |
Date Picker | Date format: | 2000-01-01 |
Date Time Picker | Date with time format: | 2000-01-01 01:01:01 |
Labels | Admits + and - prefixes to add and remove single items. | newlabel |
Checkboxes | Name of the choice to be selected. | New option |
URL Field | WWW url with protocol | |
Select list (single choise) | Name of the choice to be selected. | Option |
Select list (multiple choise) | Name of the choice to be selected. | New option |
Select list (cascading) | Name of the choice to be selected. | Only first level set |
Group Picker (single group) | Name of a group. | jira-administrators |
Group Picker (multiple groups) | Name of a group. | jira-administrators |
User Picker (single user) | Name of a user name (not full name). | john |
User Picker (multiple users) | Name of a user name (not full name). | john |
Project picker (single project) | Project key or project id. | SDESK |
Clear Fields Value
The Clear Fields Value gives you ability to clear multiple fields at once
Set Issue Security Level
The Set Issue Security Level gives you ability to change Security Level. You can set default level for project Security Scheme, or set specific Security Level, or you can clear actual chosen Security Level
Reindex Issue
The Set Issue Security Level gives you ability re-index issue to keep indexes in sync with the database. This operation is always run by JIRA at the end of every transition, but thanks to this post-function you can also do reindex earlier if you need (reindex called by JIRA will still be executed)
Reset Fields Value
The Reset Fields Value gives you ability to reset fields value to value before current transition. If you need to modify fields values ​​in post-function, now you can restore them to values before transition.
Mathematical
Save the math expression into selected field (post function check math syntax)
Add Notes
How many times do you create the post function and after some time you did not remember why you configured it that way?.
From now you can add notes to the conditions in which you can write an additional comment for yourself or for your team explaining the configuration.
Notes in the post functions don't change issue
Get User Property
Copies the value of a user property to a field
Set/Update User Property
Set or update the value of a user property as a string
Run Post Function Template
Run and reuse predefined templates with one or more functions
Manage User Groups In Custom Fields
You can manage user groups in custom fields. Perfect solution for acceptance process.
Copy all Current User groups from 'Source field' to 'Destination field'
Add all Current User groups to 'Source field'
Remove all Current User groups from 'Source field'
Display Message to User
Since v. 2.11.*
Added ability to change flag width
Added Wiki Markups support
Display a message as a "flag" to the current user after transition in the top right corner of the page.
Example message body
<b>Hello</b>
This is example color <font color=red>red</font>
<ul>
<li>Option 1</li>
<li>Option 2</li>
</ul>
Add/Remove Users To/From Groups
Add/remove users from custom fields to/from selected groups or groups in custom fields.
It is perfect for delegating group management to Jira users.
Availability
Available since v. 1.24.*
Update Custom Fields (supports change value, add or remove value)
Clear Fields Value
Reset Fields Value
Set Issue Security Level
Reindex Issue
Add Notes
Available since v. 1.26.*
Mathematical
Available since v. 1.37.*
Get User Property
Set/Update User Property
Available since v. 1.41.*
Run Post Function Template
Available since v. 1.46.*
Manage User Groups In Custom Fields
Available since v. 1.50.*
Display Message to User
Available since v. 2.1.0
Add/Remove Users To/From Groups