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

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 Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,719 views 17 21
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