Hi, Guys
When I use Hidden parameter to accomplish my targets:
- When create macro, this hidden parameter is empty, so I generate one with UUID and set it to the parameter;
- When edit macro, as this parameter already has value, just use the exist one.
The first target is realized. But the second one has some problems: 1. when edit macro, I cannot get the exist value through method parameterField.getValue(). So a new UUID is set to this parameter; 2. Something went worth is that, a new UUID is set failed actually but the older one remains (Something went wrong but my target is realized.)
Bellow is the guide that I'm following to:
Including Information in your Macro for the Macro Browser (atlassian.com)
Thanks
Michael