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

This widget could not be displayed.
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

refer https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-plugins2-overview/jira-plugin-module-types/webwork-plugin-module

Thanks Mizan , the example was great

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
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