This post function copies the value of a JWT project property to a field. Read more about JWT project properties.
⚒️ Configuration
Project
Select the project that the property will be copied from. The following options are available:
|
Option |
Description |
|---|---|
|
Current project |
The property value will be taken from the current project. |
|
Selected project |
Select a specific project the value will be taken from . |
|
Set project manually (parser expression) |
Specify the project using an expression. The Basic text mode is available where you can enter a text, and also use field codes. The expression must return a project key. |
Property key
JWT project properties consist of a key and a value.
Specify the property key in this parameter. The corresponding value will be copied. The Basic text mode is available where you can enter a text, and also use field codes.
Target field
Select the field the project property value will be copied to.
If you want to reuse the project property's value in a following post function, you can select one of the temporary text fields as a target field and reference them later on.
Additional options
Choose to update issues immediately if you want Jira to fire a separate "Issue updated" event for any field change. This will also result in a dedicated issue history entry.
Conditional execution
You can optionally specify a logical expression to define the circumstances (or conditions) under which the post function should be executed.
The result of the logical expression must return a boolean value of either:
-
true→ the post function will be executed -
false→ the post function will not be executed
Using the conditional operator, even complex or multi-layered conditions can be constructed.
Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Parser functions | Label |
|---|---|---|---|---|
| Assign issue to the default user of a role |
|
|||
| Set custom IDs for each issue |
|
|
||
| Calculate custom sequence numbers |
|
|
||
| Set specific default assignee if not set |
|
|