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

0 votes
Accepted answer

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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,717 views 3 11
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