The Log Work Issue Operation is proposed depending on Worklog Permission defined in Permission Scheme.

Minyaa provides for the Log Work Issue Operation a way to extend the Condition to evaluate.

Steps are :

  • Evaluation of new condition is delegated to the MinyaaWorkflowManager
    • A new Meta Attribute is evaluated from the Issue's Workflow.

This Meta Attribute may be through a Boolean value :

<meta name="minyaa.jira.issue.workable">com.company.MyWorkableIssueCondition</meta>

or a Condition Class (See details.)    

This Meta Attribute may be used :

  • At the Workflow Step level

    <global-actions>
    	<action id="2" name="Edit Issue"  >
    		<meta name="jira.operation.id">1</meta>
    		<meta name="minyaa.jira.issue.workable">true</meta>
    		<restrict-to> ...	</restrict-to>
    		<validators> ... </validators>
    		<results> ... </results>
    	</action>
    </global-actions>
  • At Edit Action level (See KAAM-190 and KAAM-226), which will be assumed as Global (for any Step)

    <global-actions>
    	<action id="2" name="Edit Issue"  >
    		<meta name="jira.operation.id">1</meta>
    		<meta name="minyaa.jira.issue.workable">true</meta>
    		<restrict-to> ...	</restrict-to>
    		<validators> ... </validators>
    		<results> ... </results>
    	</action>
    </global-actions>

Condition defined at Step level will override those defined at Edit Action level.   

Also, you may define a default Workable Condition at Edit Action level, and just add another condition for some of Steps.

 

 

 

On this page:

 

Useful hint

See also ...

  • No labels