Workflow scheme and project: where do they link in database?

I have a project to which I assigned a new workflow scheme.

The new workflow scheme consists of workflows that I imported from another system. I exported them from the other system (through XML) and changed the "jira.fieldscreen.id" and "statuses" values to their new values in the destination project.

The workflows seem to work fine, but when I open the project administration and click the "Workflows" tab, I get the following error message:

Error rendering WebPanel (workflows/workflows.vm): org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getHtml' in class com.atlassian.jira.web.component.IssueConstantWebComponent threw exception java.lang.NullPointerException at workflows/workflows.vm[line 136, column 65]

I have looked for this error and all suggestions don't seem to apply.

I am now looking for a way how I can dissociate this workflow scheme from this project and assign a different workflow scheme through database manipulation.

Any suggestion?

2 answers

1 accepted

We have the same problem with a workflow imported from another Jira:

Error rendering WebPanel (workflows/workflows.vm): org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getHtml' in class com.atlassian.jira.web.component.IssueConstantWebComponent threw exception java.lang.NullPointerException at workflows/workflows.vm[line 136, column 65]

Hey have the same error. Same line and column. Did you get this error solved?

double and triple check whether all the statuses you're using in your workflow in fact exist. When you find the one that does not, just recreate it and it will work again.

Well, ended up deleting the entire project, workflow and starting over, without importing the workflow.
Worked like a charm ;-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,734 views 17 21
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