When using the Scriptrunner Web Item to add a button to a page, one of the action options is to "Do nothing - you will use javascript to bind an action". The solution used to be adding your Javascript binding to the Description of a field on the page (like Summary, for example) and this would allow the necessary javascript to be available on the page that the button is being used. However, after upgrading to Jira 8, it appears that this solution for injecting Javascript no longer works. What is recommended way to get these Web Item buttons to work in Jira 8?
@Nic Brough -Adaptavist- any thoughts?
Hi Jordan,
Have you tried to use the Announcement Banner for loading the JS code on Jira 8?
EDIT:
You can algo have a look into JsIncluder third-party app.
Regards
Yes, that appears to be working, however that's not allowed at my organization (as it loads on every page instead of just the Project/Issue Type that the script is needed for).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about jsIncluder? I've edited my previous answer :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just now seeing this thread... https://community.atlassian.com/t5/Jira-questions/javascript-inject-in-custom-fields-in-jira-7/qaq-p/170592
Looks like there may not be a good solution anymore. Either the announcement banner or an add-on. :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I picked up the JsIncluder but the documentation i very dated and very russian,
I have a help button that has stopped working with by last update so I've very much appreciate a working example with JsIncluder if anybody can provide.
thanks
/anders
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.