Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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.

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

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
Yilin Atlassian Team Feb 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.

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.

Hi,

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

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.  

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you