I would like to know if there is a way to have HTML code in a Web Item and have JS code that modifies the HTML code.
I want to implement a sort of search box.
I envision utilizing a simple text area where people will input words and a button "search".
Button search will be hooked up to a Rest EndPoint.
I want it so when I click search JS grabs whatever is in the text area and appends it to the end of the Rest EndPoint URL.
So that I can grab the everything at the end of the Rest Endpoint URL via the "additionalPath" method.
Is this possible?
I think it is possible. But your solution would be too difficult to support. I do not think you should use ScriptRunner for the task. But if you still want to do it , then you could do it the following way:
2. Create your REST endpoint
I guess that would do the trick. But I never tried it and I do not have plans to try it.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot