We are looking to create a few scripts to automate certain actions. For example, we want people to be able to click on a button to create a certain type of issue and several subtasks to go along with that issue. There are about 5-6 of these, and we're looking at Script Runner and JJUPIN to perform the actions.
Is there any (easy) way we can put a widget on a dashboard that has all of these buttons that run these scripts?
You may use the SIL Runner Gadget from JJUPIN: http://confluence.kepler-rominfo.com/display/JJUPIN/SIL+Runner+Gadget
I actually tried that, but the gadget comes up with an error on my dashboard and the gadget itself renders wrong... first input box has a label of "__MSG_sil.runner.program__". Second one has a label of "__MSG_sil.runner.parameters__" and then underneath it is "Cannot get SIL scripts. Status: error undefined undefined". In the error logs I'm seeing:
2013-03-29 14:37:05,075 http-bio-8080-exec-9 ERROR xxx 877x8806x1 1r2o44w xxx,127.0.0.1 /plugins/servlet/gadgets/makeRequest [renderer.internal.http.HttpClientFetcher] Unable to retrieve response
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
I'm assuming these are related. We use the proxying method to run both Jira and Confluence on the same server. I've moved on for now, but if you have any ideas...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed, the errors are related. The gadget error usually occurrs when you are accessing JIRA with a URL other than what is configured in the General Configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The base URL in the general config matches, but for our development server (this one) we're using a self-signed certificate... so that might have something to do with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Most probably, yes, it is because of the self-signed certificate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'd have to write the widget if you were using script runner. It would be fairly easy as script runner has a REST api, so it's just a case of writing some javascript to create the buttons.
The way to do your specific task in script runner would be to just allow users to create the task normally, but have a post-function or listener create the sub-tasks.
JJUPIN does have a dashboard gadget though: http://confluence.kepler-rominfo.com/display/JJUPIN/SIL+Runner+Gadget
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.