Resetting and Custom field on Update Issue

Emily Howell July 9, 2014

I need to apply a security declaration that must be checked everytime a user modifies an Issue in our project. I have implemented this be creating a required custom field which I can reset as a post-function on event transitions. However, I also need to be able to reset it whenever a user Edits an issue - so it is left unticked for the next time an Issue is edited. How do I do this? Or alternatively, is anyone aware of any other functionality or addons that provides some kind of pop-up window for just this kind of security declaration whenever an issue is modified?

Many thanks in advance, Emily Howell

1 answer

0 votes
Luther Hargrove
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2014

You could use javascript to do an alert('Security declaration') that would let them click ok on it before they would be able to save the edit/create the issue. You can post javascript in the description of custom fields and it will excecute whenever that field is displayed.

Emily Howell July 14, 2014

Thank you, I shall look into javascript.

Emily Howell July 15, 2014

Luther - are you aware of javascript no longer being supported for custom fields from 6.2.x onwards (I have seen some other comments elswhere about this and not entirely sure of the impact)? Also, do you use an addon to support your use of javascript, such as ScriptRunner?

Suggest an answer

Log in or Sign up to answer