I need to create a script/automation for Jira Datacenter with Scriptrunner.
Scenario:
User initiates Time Stamp when selecting a field.
Captures time in Date and Time Picker.
Captures Initiator Display Name in Text Box.
Hi @Hector Hood ,
you can do that using a behaviour provided by script runner.
When user select a filed (that field should be added to the behaviour) you could retrive who and when operation has been performed and put those information in two different custom fields (that should on the same screen).
If you provide all information I could send you an example.
Hope this helps,
Fabio
This would require that both the Date and Display Name are present on the same form as the Time Stamp field. (Since behaviours are javascript-based and will not update the issue in background silently.)
Another requirement (I think? Not sure..) is that the user must use the Edit dialog, and not just switching the field on issue view. I don't know however if behaviours will make the user go to Edit dialog, or whether the user would be able to modify the field as is, in plain view.
If any of these are problem I would more point towards Listeners https://scriptrunner.adaptavist.com/latest/jira/listeners.html since these can run in the background.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabio Racobaldo _Herzum_ sorry for the delay this got backlogged.
User Clicks on Timestamp
This puts date into Date Picker which is read only
Put in User into User Picker and is read only.
What other info would you need?
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.
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.