...
The intended post-function assigns the value "First Option" to the custom field (New custom field) depending on the value from the "User Profiles for Jira" custom field.
...
Code Block |
---|
{{ [" |
...
Pablo |
...
Vergara", " |
...
Other User"].includes(issue.fields.customfield_ |
...
<name/number>) }} |
As the third-party app does take a while to populate the custom field, it is necessary to include a delay as part of the post-function configuration (in the example, we have set a 15-sec delay for testing purposes):
...