Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagegroovy
if (assetStatus == 'added') return issue.reporter.username 
else if (assetStatus == 'removed') return ''
else return null

"return null" result won't update asset. If you want to clear attribute value return empty String "return ''"

...