Versions Compared

Key

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

Introduction

This guide explains how you can extract the stored properties from an issue using ScriptRunner. With that, you can use the information to perform other script runner functions.

Example Scenario

Let's say you have five teams each with one leader and 5 agents. As an administrator, you want to create a Round Robin Assignment Rule to equally distribute the tickets to the agent in the team. 
One  One possible way is to use Lookup Manger and ScriptRunner

...

2. Create LookupManager: Add/Update Issue Property Function

Check out how to create workflow post function to update issue property


3. Create Script Post-Function(ScriptRunner)

...