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
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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

91 views 0 1
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