Update database table with sql script (yes or no)

Alexander June 1, 2022

Is it recommended to update the database directly through an update sql script like recommended in this article, How to rename a group in Jira | Jira | Atlassian Documentation?

if so, is it "better" to stop jira server before making changes to the db or is it sufficient to clear the jira cache e.g. with this Scriptrunner Builtin-Skript?

 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2022

Hi @Alexander ,

welcome to the Atlassian community!

My suggestion is :

  • stop jira
  • perform a db dump
  • run queries
  • clean cache
  • start jira

Fabio

Alexander June 1, 2022

how do you clean the cache, with Scriptrunner Builtin-Script or is there another way? 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 1, 2022

Delete JIRA_HOME/plugins/. bundled-plugins and JIRA_HOME/plugins/. osgi-plugins (just these two)

Suggest an answer

Log in or Sign up to answer