It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to clear a system field eg: in log work date started

Need to clear date started field. if user click on log work the system field date started should be cleared.

1 answer

0 votes

You will need an automation or scripting app to provide a listener function that can spot the log-work event and clear out your custom "date started" field (it's not a system field, Jira doesn't have a date started field built in)

Hi Nic 

Thanks for your update, do you able to provide me a sample script for this scenario, I have script runner addon to implement this.

https://library.adaptavist.com/entity/change-the-value-of-a-custom-field-in-a-post-function is a good start.  It sets a text field to some text, but you can just set your "date started" to null to blank it out.

Thank you Nic i will check this script and update you if there is an issue.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you