Versions Compared

Key

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

WorklogType Required Permission

When Minyaa Suite introduces the Worklog Type, some improvements have been asked in order to force users to specify the Worklog Type, and not let it undefined.

This feature is available only where Minyaa Time is used with Minyaa Workflows.

The Worflow MetaAttribute minyaa.jira.issue.worklogtype.required is available and let you the ability to specify a Boolean or a Condition (It can be done using the Boolean and Condition Attribute Editor).

This boolean evaluation will define if the Worklog Type are required

This options may be also defined at the Edit Action level in order to be applicable for all steps.

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

  • At the Workflow Step level

    Code Block
    languagexml
    linenumberstrue
    <step id="1" name="Open">
    	<meta name="jira.status.id">10100</meta>
    	<meta name="minyaa.jira.issue.worklogtype.required">com.company.MyEditableIssueCondition</meta>
    	<actions>
    		<common-action id="10" />
    		<common-action id="20" />
    	</actions>
    </step>
  • At Edit Action level (See KAAM-190 and KAAM-226), which will be assumed for any Step

    Code Block
    languagexml
    linenumberstrue
     <global-actions>
    	<action id="2" name="Edit Issue"  >
    		<meta name="minyaa.jira.operation.id">1</meta>
    		<meta name="minyaa.jira.issue.worklogtype.required">true</meta>
    		<restrict-to> ...	</restrict-to>
    		<validators> ... </validators>
    		<results> ... </results>
    	</action>
    </global-actions>

For restricting allowed Worklog Types

You may have also the need to specify which Worklog Type is applicable for your project, even for a specific Workflow Step ...

Then, Minyaa provides a Worflow MetaAttribute named minyaa.jira.issue.worklogtype.allowed, editable with the Worklog Type Editor). 

Editor for Worklog Type Meta-Attribute

Proposed Worklog Type will be then restricted in Worklog Page and Worklog Dialogbox of Fast Worklog Gadgets.

The list of Ids (for allowed Worklog types) will appended as value of the Meta-Attribute

Code Block
languagexml
linenumberstrue
 <step id="1" name="Open">
	<meta name="minyaa.jira.issue.worklogtype.allowed">1,2,3</meta>
	<actions>
		<common-action id="10" />
		<common-action id="20" />
	</actions>
	</step>

Excerpt
hiddentrue

 

Panel

On this page:

Table of Contents

 

Content by Label
showLabelsfalse
spacesMINYAA
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "MINYAA"
labelsdocumentation-space-sample

Info
titleUseful hint

See also ...