Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Clear value of date picker custom field

Hello,

I have a requirement to clear value of date picker custom field making it null using script runner post function. I have tried the below but doesn't seem to work for date picker CF.

// Getting custom field object
def cfoFuncDate = customFieldManager.getCustomFieldObjectByName("QA Deployment Date")

// Getting custom field value
def cfFuncDate = issue.getCustomFieldValue(cfoFuncDate

 

if (cfFuncDate) {
issue.setCustomFieldValue(cfoFuncDate, null)
}

 

Kindly help.

1 answer

Hi @Ramya Yarru can you post screenshot of postfunctions configuration? (I mean list of the postfunctions).

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