Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Published in Marketplace Apps & Integrations

Learn how to request and manage app requests in the Marketplace

G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...

43 views 1 5
Read article

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