Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Goal

This section shows the instructions to configure Workflow Post Function to perform a lookup during issue transition to update issue field.

Pre-requisites

✔️ Create a lookup table
✔️ Jira Administrators permission to create / edit Workflow Post Function

Demonstration

The Lookup Manager use the value in the App field, get the App Management Table to search the App column. If there is a matching row, get the value in the Manager column and then set it in the Assignee field.

...

Configuration steps

1. Go to the workflow you wish to perform a lookup function.

...

8. Remember to publish the workflow

...

Advanced Example

Info

It is possible to use Lookup Manager to implement complex if-then-else logic by reversing the sequence of the post functions

For example, in the scenario, where only critical applications have duty personnel,

Code Block
if (priority == High)
   assignee = lookup(Duty personnel for selected application)
else if (priority == Medium)
   assignee = lookup(System Lead for selected application)

It can be translated into 2 lookup post functions in the reverse sequence

  1. Initialise the assignee with the System Lead by performing the lookup for the System Lead

  2. Then call the lookup for the Duty Personnel using the selected application. If there is no matching records, skip the update and continue