Hi, I am working on building a jira plugin. I have created a web-item on the issue page, and I want to call a java function located in my plugin package when I click on the web-item. How can I accomplish this?
I have seen this post on call java function on add comment button.
However, I am not sure where to write the event listener.
I can think of two ways to do this.
If your web-item displays content in a glance, you can set the trigger on render (when the glance is open). If it renders a button or something a like, you can trigger directly from you button code
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