How to create a custom screen after the version create screen?

I want to create a custom screen after the version create screen which will have a dropdown and according to the value of that dropdown I want to add an event listener to automatically create a specific number of user stories programmatically. How do I do that? Is there a way to edit the version create screen and add a dropdown? Or else what's the way to add another screen after the version creation screen has been pressed OK on and show the dropdown on this second screen and thus take actions in the backend then?

1 answer

0 votes

You'll need to hack the core code in JIRA to do that - the screens are provided by the code.

You could do the second part with an add-on though.  JIRA throws events when versions are changed, so you could write a listener to catch those events and do something (like create new issues) when they are triggered.  See https://developer.atlassian.com/jiradev/jira-platform/jira-architecture/jira-technical-overview/jira-specific-atlassian-events for the full list of events you can catch.

Sorry, i'm a newbie. So does this mean I have to download the source code and change it? No other way to add the dropdown? Through a screen or anything else if not a screen?

It depends on how the particular screen you want to hack works.  Many are done with templates or webwork which are not compiled into code, and they live in the application installation in plain text.

If the screen you need to amend is one of these, and your changes are going to use functions that are available, then you may only need to change those templates.  However if it's not done that way, or you need your own code to run, then yes, you'll need to download the source and recompile it with your changes.

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,982 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot