Add a button panel to the dashboard

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?

2 answers

1 accepted

This widget could not be displayed.

You may use the SIL Runner Gadget from JJUPIN:

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, /plugins/servlet/gadgets/makeRequest [renderer.internal.http.HttpClientFetcher] Unable to retrieve response peer not authenticated

at 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...

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.

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.

Most probably, yes, it is because of the self-signed certificate.

We put a real cert in there and the widget now works. You might want to capture this somewhere in a FAQ. Thanks!

This widget could not be displayed.

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:

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 5 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

23 views 0 2
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you