Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,121
Community Members
 
Community Events
165
Community Groups

update value of dailog box cascade list on view issue screen

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 .?

image.png

 

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>

"""

 

 

 

 

 

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

254 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you