Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Mohanbabu Somasundaram December 25, 2019

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

1 answer

0 votes
Nic Brough -Adaptavist-
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.
December 26, 2019

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)

Mohanbabu Somasundaram December 27, 2019

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.

Nic Brough -Adaptavist-
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.
December 27, 2019

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.

Mohanbabu Somasundaram December 30, 2019

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
AUG Leaders

Atlassian Community Events