Insight - Set the value of an object attribute with a predefined value (append not overwrite)

Oliver Schalch February 16, 2021

Hello,

The Postfunction to use in a Transition: https://documentation.mindville.com/display/INSSERV/Insight+Post+Functions#InsightPostFunctions-Setthevalueofanobjectattributewithapredefinedvalueplaceholders-setobjectattributevaluetopredefined

is very usefull. But....

1) The Attribute is always overwritten on a Transition and there is no Option to fill more than 1 value. We use this Postfunction to fill some inventory stuff - and there is a big need to add on every transition the new values.

Example: JIRA-Issue to assign Item1 to CustomerA works great an fills attribute "Inventory" with "Item1" another JIRA-Issue to assign Item2 to CustomerA should add the value so the attribute "Inventory" would be "Item1, Item2".

2) Is the Script behind this integrated post function somewhere public? So i could adopt it and use in a groovy post function.

Thanks

Oliver

2 answers

0 votes
Marco Brundel
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.
May 9, 2022

Hi @Oliver Schalch  and @Eric R Hartway ,

Have you been able to find a resolution yet?

Is the information in https://community.atlassian.com/t5/Jira-questions/Update-Object-Attribute-Insight-Add-NOT-overwrite-Script-advice/qaq-p/1398294  helpful?

 

regards, Marco

Eric R Hartway May 9, 2022

Hi Marco,

I have not found an application level resolution.  Using a Groovy script seems to be the only viable answer.

-Eric

Like Marco Brundel likes this
0 votes
Eric R Hartway February 16, 2022

I have this same issue.  Have you been able to find a resolution yet?

Thanks,

Eric

Suggest an answer

Log in or Sign up to answer