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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

23 views 0 4
Join discussion

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