Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i fix a problem with an issue link type style - and what is it????

dms117 February 15, 2013

I'm trying to import a project and the validation is failing with an error that states: "The Issue Link Type 'Gantt Dependency' has style 'Gantt' in the backup, but has no style in the current system."

I have no idea what this means. I have an issue link called Gantt Dependency, I believe it was added to our system when we were previewing the Gantt Chart plugin. However, I have no idea what this link is used for, how, or what the heck a style is in this context.

If anyone can help with this it's really obstructing my ability to finish my migration to a new JIRA server. Thanks.

5 answers

1 accepted

0 votes
Answer accepted
dms117 February 20, 2013

I couldn't fix this, I just deleted the link entries from the database for the problem links and created a new backup, and that imported ok.

2 votes
Peter Cottrell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2015

As an alternative if you are comfortable with databases, you can add the 'style' directly into the 'issuelinktype' table. Thats what I did and had to restart the JIRA service and then it was recognized properly

1 vote
Pavel Fomin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2018

Update the entities.xml to remove the style: 

<IssueLinkType id="10020" linkname="Gantt Dependency" inward="has to be done after" outward="has to be done before" style="Gantt"/>

 

OR add style to target database

update issuelinktype set pstyle = 'Gantt' where linkname = 'Gantt Dependency';

 

0 votes
Kevin Paulus
Contributor
December 26, 2019

Same issue:
I wound up installing  JIRA Home Directory And DB Browser   add-on in the target instance then issuing the needed SQL updates for each of the show-stopping errors:
{example}
UPDATE ISSUELINKTYPE
SET PSTYLE = 'wbsgantt_dependency_EE'
WHERE ID = 10201

your ID may be different.

Then had to stop and restart JIRA for that to take effect -- problem was solved.  

0 votes
Yilin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2013

I think you can temporary install the Gantt Chart plugin on the target instance to workaround the issue. or else you will probably need to remove the entities in the XML backup which will take a lot of effort.

dms117 February 17, 2013

I had that same thought when I saw the error message, so I did an install of the plugin to try to fix the problem, but it didn't work. Thanks for the idea, I have a ticket in with Atlassian so hopefully they'll be able to point me in the right direction.

M January 9, 2014

Hi,

As i had the same issue, i deleted the style = Gantt in the Xml files, and it works fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events