Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Tip

The solution below works with the standard Clone function in JIRA, but is more flexible with the Clone Plus Plugin, with is not so expensive. 

Especially, check out the possibilities in https://bobswift.atlassian.net/wiki/display/JCPP/clone-plus.properties

Indholdsfortegnelse

Template Issue Types

New Template Issue types created:

...

Here in the sample, a JIRA JQL selecting the correct "Incident Templates" are shown on the Incident Management Procedure:

Enhance Cloning for users

For JIRA, I have made a Custom Field of the Type "Message Custom Field (for view)" From the JIRA Toolkit, containing this code as "Default Value":

Kodeblok
<div class="field-group aui-field-wikiedit comment-input">
<a href='' target='_self' id='templatenclone' class='aui-button aui-button-primary aui-style'>Click to Clone</a>
</div>
<script>
AJS.$(document).bind(JIRA.Events.NEW_CONTENT_ADDED, function(event, dialog) {
AJS.$('#templateclone').attr('href','https://jira.netic.dk/secure/ClonePlusStart!default.jspa?id='+AJS.$('#key-val').attr('rel'));
});
</script>

Rendering on the "Incident Template" Screen, looks like:

Image Added