This post function lets you copy an excerpt of a specific field by defining a leading and trailing delimiter.
Configuration
Select the field the value will be copied or extracted from.
Select the field the value will be copied to.
Leading delimiter
The value that will be extracted is enclosed by a leading and a trailing delimiter. You first have to define the type of the leading delimiter:
Option | Description |
---|---|
Text (case sensitive) | Specify the text that will serve as the leading delimiter. The text found by JWT must exactly match the delimiter (case sensitive). |
Text (ignoring case) | Choose this option if JWT should ignore the case. |
Regular expression (case sensitive) | Define a regular expression as the leading delimiter, respecting the case. |
Regular expression (ignoring case) | Choose this option if JWT should ignore the case. |
Expression
Once you have specified how JWT should identify the delimiter, you now have to specify the exact value.
Trailing delimiter
The options and the handling are identical to the leading delimiter configuration.
Examples
Text | Option | Leading delimiter | Trailing delimiter | Output |
---|---|---|---|---|
This is a text example, where I want to extract a - specific - value from. | Text (case sensitive) | E | E | |
This is a text example, where I want to extract a - specific - value from. | Text (ignoring case) | E | E | xample |
Excerpt pattern
Select how the value between the delimiters should be processed. The following options are available:
Option | Description |
---|---|
None (copy whole text between the delimiters) | |
Number | |
URL | |
Date and time | |
Regular expression (case sensitive) | |
Regular expression (ignoring case) |
When selecting one of the Regular expression options, you will be able to enter a regular expression to further process the matched text.
Multiple pattern matching
Select which value should be processed in case of multiple pattern matching. The following options are available:
First
Last
All
Additional options
You have the following options:
Option | Description |
---|---|
Update issue immediately | Each field update results in a dedicated "Issue Updated" event and issue history entry |
Write protection | Do not overwrite existing values |
Include leading delimiter | Include it to the output |
Include trailing delimiter | Include it to the output |
The result of the logical expression must return a boolean value of either:
true
→ the post function will be executedfalse
→ 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
Title |
---|
No content found. |
If you still have questions, feel free to refer to our support team.