This is a big question.
It's not very different than asking: I want to create a mobile app that will make lots of money. How can I do that?
This requires a fair amount of prior programming experience.
You can read this to get you started: https://scriptrunner.adaptavist.com/latest/jira/fragments/WebItem.html#_dialogs_advanced
@Peter-Dave Sheehan thank you for reply
but what I mean is: can I had annotation as parameter (from dynamic form
@UserPicker(label = "User", description = "Select a user")
and put it in my dialog(in my html string)?
and what is the type of annotation in groovy?
You can’t use the annotations there.
You have to build your own html form using plain html.
You can use the AUI design patterns already included in JIRA https://aui.atlassian.com/aui/9.2.0/docs/forms.html
For example, in your dialog html, include a form like this
<form class="aui top-label">
<label for="textfieldid">Label for your field</label>
<input type="text" class="aui text" id="textfieldid" $/>
With any additional fields you need. Note these fields will not be associated with any db information. You must populate with initial value yourself if that's the case. And as specified, the action to take when you submit the form (using an input type button ) will all have to be coded.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
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