Versions Compared

Key

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

In order to display issue state in your Risk Table you will need to do following:

  1. Create one text field to the Risk Table called “Status”. We will start populating issue status values into it.

  2. Create synchronisation logic to keep the field “Status” updated to the current issue status value. You can do that either with an event listener script or by having a workflow post function that updates the “Status” field value.

    1. Event listener - the event listener listens to the system events and if an issue workflow change is detected, then it copies the value of the current status to the field “Status”.

    2. Workflow post function - Each Jira issue has a workflow and it consists of transitions and statuses. Each time a transition is executed, a defined post function is also executed. You can create different post functions to each transition e.g. “update issue field”, “add comment to issue”, etc.

Examples:

Table of Contents
maxLevel4
minLevel2

CPrime Powerscript event listener:

NB! You need to have Jira global admin permissions to implement this.

...

You can also see it when you create an issue or change an existing one:

...

Tip

Success!!!

Using workflow post functions to copy status values

You can also execute the written sil script for specific cases in certain workflow transitions. To do that, edit the workflow and add new post function under the selected transition:

...