It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I give a web-item a function?

I am currently trying to write a plugin which displays an button in the "more action" section of the issue-sreen.

I know that I can create a button using a web-item, but I don't want it to link to another page but to do an action. For example creating another issue or something alike.

I appreciate any help.

1 answer

1 accepted

You can do that. Just give the url to the action in the web-item link. /secure/yourAction!yourCommand.jspa.

so is using a webwok the right choice?

alright. thanks. =)
now I'm experiencing troubles with opening the input.vm I wrote. It should open if the doDefault() method returns input, shouldn't it?

I'm not quite sure, because that's what I did and it's still not working. I suspect it's a problem with the sources.... also when I develop a plugin by atlas-run and try to open the jira instance it doesn't activate the plugin and doesn't allow me to, that's kind of a pain.

It should open if the doDefault() method returns input, shouldn't it?

Depends on what view is mapped to "input". You can see it in the module description in atlassian-plugin.xml.

also when I develop a plugin by atlas-run and try to open the jira instance it doesn't activate the plugin and doesn't allow me to, that's kind of a pain.

Seems you have something very basic going wrong. What is the error when you run it via atlas-run?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

45 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you