Proper way to induce a re-sync between database and front-end

Hello.

Our team likes to automate certain tasks, and a big selling feature of JIRA for us was the ability to query and manipulate a backend database.

 

For example, I needed to remove ~10 components from a project, and performed this using a delete from, however, after execution the front end still showed links to these components until I stopped the JIRA service and restarted it.

 

Is there a built in way to cause JIRA to re-sync the database in order to remove these dead links? If not, how would I go about developing this myself?

 

Thx

 

2 answers

No.

You should never write to a Jira database.  If you do, it should be infrequent and always done when Jira is offline and you've taken a proven backup first.

I don't know who "sold" it to you on the ability to get to the database, but they were wrong and it's been mis-sold to you.  In most cases, you shouldn't even be reading it, as it's a datastore, not a reporting design.

You may try the reindex feature, which is build in JIRA (but I am unsure if it handles reindexing of Components in Project). You can find it in administration.

 

But Nic is true in his statement, that you should never touch the database and values in it directly. It may lead to corruption of datas stored in database.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

974 views 2 14
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