Is it possible to trigger a SIL script when someone clicks the Start Progress button on an issue?
I'd like to set/update the Start Date field to match the time when Start Progress is clicked.
If SIL isn't the way to go, is there an alternative?
thank you
Hello,
The Power Scripts add-on can do it easily.
You have to create a post function for the Start Progress transition and put there the following scripts:
#{Start Date} = currentDate();
You can find more info on post functions here:
When you setup Approvals you choose, which transitions must be executed in case the issue is approved or rejected. In the end transitions, which you provided, will be execute. I think in your case it is the Start Progress transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need to use any script to solve this one. This can be easily obtained through postfunctions. I think you might need some free plugin to enhance the postfunction options, not sure if this is a vanila feature but is not difficult to locate the most popular free plugins.
The postfunction needed would be "edit cusstom field" and you'll set it to %%CURRENT_DATE_TIME%% or something like this.
If the field you want to automatically update is not a custom field you will still need to add yet another postfunction: "copy field value" or something similar (don't remember the exact name).
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I am using Power Scripts, and I think I was confusing the Approval with the Start Progress button. i.e. the Start Progress button isn't available until after the request has been approved. So, I assume, clicking Approve isn't actually a transition to the next status (though the status appears to update), and the Approve button is replaced by the Start Progress button (the actual name of the transition). Clicking Start Progress is the actual transition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.