1 / 6

Intelligente Dialoge in Jira

Intelligente Dialoge in Jira. Hackerthon – AUG MUC – 16.8.2012. Ziele. Felder intelligent vorbelegen Eingaben vor Absenden des Dialogs von Transitionen (Edit Screen) validieren und ggf. das Absenden untersagen Informationen für 1+2 im Dialog verfügbar machen. Lösung.

aviv
Download Presentation

Intelligente Dialoge in Jira

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Intelligente Dialoge in Jira Hackerthon – AUG MUC – 16.8.2012

  2. Ziele • Felder intelligent vorbelegen • Eingaben vor Absenden des Dialogs von Transitionen (Edit Screen) validieren und ggf. das Absenden untersagen • Informationen für 1+2 im Dialog verfügbar machen

  3. Lösung • „Jira Toolbox Plugin“ installieren • Custom Field vom Typ „Message Custom Fields (edit)“ anlegen • HTML oder JavaScript-Code im Default Value des Custom Fields eingeben • Custom Field im Edit Screen (Dialog) hinzufügen

  4. 1) Felder intelligent vorbelegen jQuery('#log-work-date-logged-date-picker').parent().hide(); jQuery('#timetracking_originalestimate').val(jQuery('#log-work-date-logged-date-picker').val())

  5. 2) Eingaben clientseitig validieren <script type="text/javascript"> jQuery("#issue-workflow-transition").submit(function (event) { //jQuery('#log-work-date-logged-date-picker').val() if(confirm('Wollen Sie das wirklich ausführen ?')) { returntrue; } else { event.stopImmediatePropagation(); returnfalse; } }); </script>

  6. 3) Informationen verfügbar machen • Quell-Feld hinzufügen und ausblendenjQuery('#timetracking_originalestimate').val(jQuery('#log-work-date-logged-date-picker').val());jQuery('#log-work-date-logged-date-picker').parent().hide(); • Per Ajax-Request ausf REST-API • Per AJS-Object

More Related