Closed vomus closed 1 year ago
Hi! I have a custom field for an issue and need to set it to a generated value only when the issue is first created. I created such a script
icf = IssueCustomField.find_by_name('Issue polycy') self.custom_field_values = { icf.id => Time.now.strftime('Policy.%d%m%H%M%S-%y') }
but it runs also when the issue is commented on. How does one limit the runtime?
No support for Russians here.
Hi! I have a custom field for an issue and need to set it to a generated value only when the issue is first created. I created such a script
but it runs also when the issue is commented on. How does one limit the runtime?