• Community
  • Products
  • Jira Software
  • Questions
  • Hi there, I want to copy a scripted field to a normal field during the post-function of the create step. But it seems, that the scripted field is always null

Hi there, I want to copy a scripted field to a normal field during the post-function of the create step. But it seems, that the scripted field is always null

KartikA March 28, 2016
 

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2016
1 vote
GabrielleJ
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.
March 28, 2016

Instead of copying the scripted, why not just add a post-function called "Update parameters of the Set Field Value to constant or Groovy expression Function for this transition."

"The value of field <custom_field> of the current issue will be set to the result of a Groovy expression (unless the field already has a value)."

This way, the value will not be duplicated.

Suggest an answer

Log in or Sign up to answer