Forums

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

Cannot get exist value when using Hidden parameter of Macro

Michael May 15, 2023

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

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.7
TAGS
AUG Leaders

Atlassian Community Events