Versions Compared

Key

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

...

We will not go into detail with the aforementioned functionalities and it suggested . It is recommended that you read the documentation regarding these functionalities before attempting the following sections.

...

Set a list of Statuses to be treated as another Status.

Masquerade New Status

Code Block
#set($displayStatus = "")
#set($masqueradeAsInProgress = ["Todo", "In Progress"])

#if($masqueradeAsInProgress.contains($newStatus))
  #set($displayStatus = "In Progress")
#end

Then you will need to Afterwards find references to the $status variable in your Template and replace it set the status as $displayStatus as the example for example in the Generic Issue Event Notification:

...

Examples

This Macro Script does this the following (Note this is for Issue events with a changelog e.g. Updated Issue Event or Generic Issue Event):

  • Masquerade “To Do” and “Waiting for support” as “In Progress”

  • If the issue was already in progress then inhibit the notification

  • When the issue first transitions to “In Progress” or changes from “In Progress” to different status not listed in the list $masqueradeAsInProgress then continue with notification

...