Just trying to get a feel for this...
Matt Doar indicates here that a service can be run to do re-indexing. Anyone aware of an add-on that does this?
What's the level of difficulty to write one?
Goal/desire is to schedule a re-index in order to keep calcluated fields updated... ideally we'd be able to target specific projects for the re-index based on projects that have the field on one their screens.
You need to put something like this script in to somefile.groovy, then set up a groovy service to run it: https://gist.github.com/jechlin/9652240
Not tested... well, I ran it in the console and it was OK.
https://jamieechlin.atlassian.net/wiki/display/GRV/Services
In your other conversation with me you were saying you wanted to run it nightly... it's a bit tricky to run it nightly. You can run it every 24 hours but that's not the same. I normally schedule it hourly then in the script check if the hour is 01 or whatever, and bail out if not.
Jamie, a huge help as usual, thanks a ton. You should really setup a donation mechanism on your website so those in the community can buy you a beer or coffee for your efforts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Donation link here https://jamieechlin.atlassian.net/wiki/display/GRV/Getting+Help !
Alternatively donate a couple of quid to http://www.cosmiccharity.com/ then we can both feel good about ourselves ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good stuff! I should have just searched!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.