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

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 Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

112 views 0 5
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