Copy Project with filters and dashboards


I try to copy a project with the related dashboards and filters, prefixed with "PM-" (PM is the key of my souce project).

When I click on Run, nothing happens. If I don't tell the script to copy the dashboards and filters it works.

In the log file, I get this error (but not always...)

2014-11-25 09:18:53,974 http-bio-8080-exec-15 ERROR admin 558x11864x1 hpfgaa, /rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.jira.admin.CopyProject [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event '[com.atlassian.jira.event.workflow.WorkflowSchemeAddedToProjectEvent@827b20d, SingleParameterMethodListenerInvoker{method=public void com.atlassian.jira.auditing.AuditingEventListener.onWorkflowSchemeAddedToProjectEvent(com.atlassian.jira.event.workflow.WorkflowSchemeAddedToProjectEvent), listener=com.atlassian.jira.auditing.AuditingEventListener@cfeeaae}]' from the invoker 'java.lang.RuntimeException: java.lang.NullPointerException'

Is there something to do in the dashboards and filters? There are shared with everyone.



1 answer

1 accepted

I found the root cause. It seems you have to check "Copy Versions" if you want to copy dashboards and filters.

In release 6.0.7 there is an explicit error if you try to copy dashboards and filters without checking the Copy Version box. In release 6.3.10, there is no error and no action is performed. If you check the box, it works!

OK... would be great if you could create an issue at, then I will take a look.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

835 views 2 9
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