repeat current transition - based on current transition screen field value

i have a transition screen, and it collects a couple of data points from the user. one is an arbitrary text string. the other is an issue selector custom field. the user is choosing an issue from a 'library' project and cloning and/or renaming + linking it to the current issue - the clone/link is achieved via a scriptrunner postfunction, as you can imagine (the rename uses the arbitrary text string as the new name).

I would like to make it easier for the user to repeat this action via something like the 'Create another' checkbox we are all familiar with from the OOTB create issue screen.


So I add a custom field ("Create Another? Yes") and add it to the transition screen. I can grab the value of that within the existing scriptrunner post function, and it would be swell if I could re-run the current transition - complete with the existing transition screen - so the user could quickly cline+link a bunch of issues...know what I mean?

1 answer

0 vote
Steven Behnke Community Champion Nov 04, 2017

Just a suggestion, it'd likely be easier to use the Script Fragments functionality and a REST endpoint to add a custom form with all your own custom behavior. Tacking custom stuff into the Transitions is easy but limited.

Thanks for the hint @Steven Behnke

I'll look into that. 


I will need to make sure I can only show the UI element (e.g. "Create New Linked Library Item") - which is currently shown on the Workflow section of the issue menu and is affected via a circular transition - on certain statuses in the workflow.circular-transition-starts-ends-same-status.png

My comment is pretty unclear...


If I am trying to use a fragment/rest endpoint to 'reproduce' a workflow transition screen, can I create a dialog that renders a PCF - Single Autocomplete field that produces a list of Jira issues to select from?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

358 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you