Hi I have created a web Item. When I click the web Item it should run a script. The script works fine but the page is redirected to the rest end point URL. Any solutions please?
@srinivasp you said you had similar issues right? Any solutions?. If you di have please mention the solution.
If you can apply Javascript for the web-item. Simply add a onClick event, then preventDefault() on that item.
Edit: You can also set the href for your item to #.
I'm unable to add JS to the web Item. And I need to provide the rest end point URL to run the code. So I can't give #
@Pradeep A how did you create your web-item (by a plugin, scriptrunner,...)?
@Nhac Tat Nguyen Script runner
It looks like you're new here. Sign in or register to get started.