Activity and Unactivity Condition

Overview

These conditions are evaluate to True,

if Issue has an Activity confirmed

ActivityCondition

Or if Issue has an Inactivity confirmed

InactivityCondition



Edit and View Parameters

It is possible to define a threshold for each of proposed Activity Type.

ActivityCondition Edit



When defined, the condition will be passed depending on activity Type evaluations.

ActivityCondition View



XML Declaration

The Condition configuration may be done in XML in Workflow descriptor as follow :

<condition type="class">
   <arg name="class.name">com.atlassian.jira.workflow.condition.ActivityCondition</arg>
   <arg name="onXXXXX">2d</arg>
</condition>

where the argument onXXXXX may be

  • onEdit : delay between Issue Update Date and Today after which issue is no more assumes as active
  • onTransition : delay between Last Transition Date and Today after which issue is no more assumes as active
  • onComment : delay between Last Comment Update Date and Today after which issue is no more assumes as active
  • onWorklog : delay between Last Worklog update Date and Today after which issue is no more assumes as active
If more than one argument is defined, then each are evaluated in above order until one raises that the issue is active.
<condition type="class">
   <arg name="class.name">com.atlassian.jira.workflow.condition.ActivityCondition</arg>
   <arg name="onEdit">5d</arg>
   <arg name="onWorklog">2d</arg>
</condition>
Here Issue is assumed as Active, if none ot the mentionned delays are superseded !

You are able to combined conditions as follow :
<conditions type="OR">
   <condition type="class">
      <arg name="class.name">com.atlassian.jira.workflow.condition.ActivityCondition</arg>
      <arg name="onEdit">5d</arg>
   </condition>
   <condition type="class">
      <arg name="class.name">com.atlassian.jira.workflow.condition.ActivityCondition</arg>
      <arg name="onWorklog">2d</arg>
   </condition>
</conditions>
Here Issue is assumed as Active one ot he mentionned delay is superseded !