You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
i have created dailogbox using restendpoint and fragment . i want to update selected value of Dailog'sBox cascade list (Servicedeskteam) on view issue screen after click on submit button .
how can i do that .?
here is my code,
testeasybi() { MultivaluedMap queryParams ->
def cfm = ComponentAccessor.getCustomFieldManager()
def cfServiceDeskTeam = cfm.getCustomFieldObjectByName("ServiceDeskTeam")
def dialog =
"""<section role="dialog" id="sr-dialog" class="aui-layer aui-dialog2 aui-dialog2-medium" aria-hidden="true" data-aui-remove-on-hide="true">
<header class="aui-dialog2-header">
<h2 class="aui-dialog2-header-main">Show Test Dailog</h2>
<a class="aui-dialog2-header-close">
<span class="aui-icon aui-icon-small aui-iconfont-close-dialog">Close</span>
</a>
</header>
<div class="aui-dialog2-content">
<form id="cloneCubesForm" class="aui">
<div class="field-group">
<label for="accountNames">Account Names <span class="aui-icon icon-required"></span></label>
<input class="text medium-field" type="text"id="accountNames" name="accountNames" placeholder="Cubo 1, Cubo 2...">
</div>
<div class="field-group">
<label for="projectKeys">Project Keys <span class="aui-icon icon-required"></span></label>
<input class="text medium-field" type="text"id="projectKeys" name="projectKeys" placeholder="JESC, JEBACK....">
</div>
<div class="field-group">
<label for="model">ServiceDeskTeam <span class="aui-icon icon-required"></span></label>
<select class="select" id="model" name="model">
<option value="Geos">GEOS</option>
<option value="IT">IT</option>
<option value="Analytics">Analytics</option>
<option value="EDS">EDS</option>
<option value="Others">Others</option>
</select>
</div>
<div class="buttons-container">
<div class="buttons">
<input class="button submit"onclick="submit()" type="submit" value="submit" id="submit">
</div>
</div>
</form>
</div>
<footer class="aui-dialog2-footer">
<div class="aui-dialog2-footer-hint"></div>
</footer>
</section>
<script>
function submit() {
}
</script>
"""