CRON Job Agile Hive settings
J
Ján Ločaj
It is a good thing to have in the settings the option for the CRON Job, to do the re-calculation of the Hive boards each night. But the problem here is, that there is Hardcoded value in the settings at 3:00 AM.
Our problem is, that during that time we have scheduled JIRA restart at each night - therefore we cannot enable this CRON Job.
Would that be possible to add an option to the Agile Hive settings, to select the specific Hour, when we would like to do the re-calculation?
PS: We noticed that e.g. Burn Up Charts needs this re-calculation in order to show the values correctly.
R
Russell Smith
We have the same situation. Based upon run times of the manual recalculation, there is likelihood that it would not complete before our nightly backups are scheduled to start. Being able to manually set this in our instance of Jira would be very helpful.
J
Ján Ločaj
Russell Smith:
Currently vendor provided to us the following workaround:
You can create your own cron job and execute the following command via REST API call:
https://yourjirainstancename.com/rest/agilehive/latest/admin-settings/properties-update/start
it's the "PUT" rest API call, however vendor don't have it nowhere documented.
We tried that in our JIRA instance and it looks like it works.
However it could be much more convenient to have it working out of the box from the Hive settings menu.
R
Russell Smith
Ján Ločaj: Would you be willing to send me the script for the workaround you are using? We tried this and ran into errors.
J
Ján Ločaj
Russell Smith:
We are using the code which we have for Power Scripts for JIRA plugin - formerly JJupin / SIL Manager (not Scriptrunner) therefore if you don't have it installed in your instance, our code won't work for you. But if you are using it, please let me know and then I can provide the code.