Resetting and Custom field on Update Issue

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

This widget could not be displayed.

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.

Thank you, I shall look into javascript.

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
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

104 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you