The tag Import allow to perform the execution of an ImportManager class (implementing com.atlassian.jira.import.IImportManager and even extending com.atlassian.jira.import.AImportManager)
Usage is :
protected abstract void importWorker(Reader _reader);
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib"> <minyaa:import file="MyFullFilePath" importClass="con.mycompany.import.MyImportClass"/> <minyaa:import uri="http://domain/MyFile" importClass="con.mycompany.import.MyImportClass"/> </JiraJelly>
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib"> <minyaa:AddDetailedVersion project-key="ABC" name="Ver 1" releaseDate="2007-12-31"/> </JiraJelly>
This tag may be used to add Constant Translation (Status, Resolution, Priorities, issueType, ...)...
Usage is :
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib"> <minyaa:TranslateConstant id="3" type="Priority" locale="fr_FR" translatedName="Majeur" translatedDesc="Incident majeur avec forte incidence sur le fonctionnement attendu."/> <minyaa:TranslateConstant name="Minor" type="Priority" locale="fr_FR" translatedName="Mineur" translatedDesc="Incident mineur, contournable a court terme."/> <minyaa:TranslateConstants id="6" type="Status" > <minyaa:TranslateConstant translatedName="Clôturée" translatedDesc="Demande clôturée" locale="fr_FR" /> <minyaa:TranslateConstant translatedName="Closed" translatedDesc="Closed" locale="en_UK" /> </minyaa:TranslateConstants> <minyaa:TranslateConstants type="IssueType" locale="fr_FR"> <minyaa:TranslateConstant name="Bug" translatedName="Bogue" translatedDesc="Probleme sur un Produit"/> <minyaa:TranslateConstant name="Task" translatedName="Tache" translatedDesc="Tache elementaire"/> </minyaa:TranslateConstants> </JiraJelly>
This tag may be used to perform Transition Workflow without or without Transition Screen (Fields).
Usage is :
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib" xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"> <minyaa:TransitionWorkflowExtended user="user1" key="FOO-1" workflowAction="101" commment="A comment" commentLevel=""/> <minyaa:TransitionWorkflowExtended user="user1" key="FOO-1" workflowAction="102" commment="A comment" commentLevel=""> <jira:AddCustomFieldValue id="customfield_10000" value="field value"/> </minyaa:TransitionWorkflowExtended> </JiraJelly>
The TransitionWorkflowExtended Tag uses WorkflowTransitionUtilAddOnImpl as WorkflowTransitionUtil.
It gives the ability, in case of Transition Screens, to assume existing value for a field, as submitted value.
For exemple, the Screen associated to a Transition requires to confirm the Assignee.
If you known that a user has been already assigned, you can let him as assignee by using the value --unchanged--.
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib" > <minyaa:TransitionWorkflowExtended user="user1" key="FOO-1" workflowAction="101" commment="A comment" commentLevel="" assignee="--unchanged--"/> </JiraJelly>
Note that it can used for CustomFields.
These tags are used to define may be used to defined NotifiableUpdate Listener's parameters ...
Usage is :
<JiraJelly xmlns:minyaa="jelly:com.atlassian.jira.jelly.MinyaaToolsTagLib"> <minyaa:AddNotifiableFields project-key="TEST" > <minyaa:AddNotifiableField name="project.notifiable.customfield" value="MyNotifiableCustomFieldId" /> <minyaa:AddNotifiableField name="MyField" value="true" /> </minyaa:AddNotifiableFields > </JiraJelly>
See Notifiable Update feature for details!