Is there anyway to create many views beside creating more webwork Edited

Hi everyone , i am new to jira developer. 

I just know to create web work, then use execute() function to map to a success.vm velocity file when user access to the responding webwork.jspa link

I just dont know is there any way to create a html file and map that page to an url without creating another webwork . Because so far i just can modify one success.vm page 

What i mean is i found out that we can extend the link 

for example

when we access /jira/secure/webwork.jspa . and in this page if we click a href link, it will navigate to /jira/secure/webwork.jspa?choice=something and then the former page will change a little bit . 

I dont know how to do this

1 answer

1 votes
Mizan Community Champion Oct 05, 2017

You can have multiple number of views under one webwork module

You will need multiple actions in your single webwork.

Each action in your webwork will correspond to a method in your webwork class which can be invoked by the URL using alias and arguments can be passes in the URL as well

Each method will return a string which will be the view name . And the VM file for that view name will be displayed for that action


Thanks Mizan , the example was great

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

3,089 views 13 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