Update the project description field after manual update in database

Sven.H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2015

Hello everybody,

 

we update the description - column in our JIRA database by daily running script.

 

The new description is not updated in the UI.

Any idea how to disable the browser cache (for this field)?

THX

Best Regards,

Sven&Carsten&Peter&Andy

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2015

First throw away your script.

You should NEVER write to an active JIRA database.  Always go through one of the APIs.

To fix the transient problem, it is nothing to do with the browser cache, it is the internal index and you need to re-index the issue.

So, once you have deleted your SQL process, the second step is to check what other forms of damage you might have been doing.  Is it just description, or are you breaking other things?

Third, once you know the full impact, you should re-index your whole system to get the index in the correct state.

Fourth, take your script and convert it to something that does it properly - use REST to update the issues is probably the easiest approach.

Sven.H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2015

Hi Nic, thx for your answer, you´re right. Do you have a hint for us to update the project description field using the api? Is there a useful function? Regards, Sven

Suggest an answer

Log in or Sign up to answer