Versions Compared

Key

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

Post functions are provided with an option to delay their execution. You need to select the number of seconds to wait until the post-function is run, a default of 1 sec to a maximum of 20 seconds.

...

Workflows that depend on post functions being executed in a specific order fail due due to the asynchronous nature of the Connect post-functions in Jira Cloud. A workaround to this is, One of the workarounds is to delay the execution of the post-functions and thereby create a more predictable execution order or use the Sequence of post-functions post-function or Shared Action post-function post-function to run a list of post-functions in a sequence. For example, on the approval of a Story you want to create sub-tasks and immediately transition them; in this case, you will have to delay the execution of the Transition Linked Issues post-function, so that the sub-tasks are created before they are transitioned. See the use case below.

Info

It is recommended to use the Sequence of post-functions post-function or Shared Action post-function post-function to run a list of post-functions in a sequence instead of applying a delay.

Sample use cases for Delayed execution

...