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

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!

0 vote

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 Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

408 views 6 16
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot