You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I echo the {{replace "__PROJECT_ID__" "{{.PROJECT_ID}}" (replace "__NAME__" "{{.NAME}}" (toJson .JSON))}} in the calling task then it contains the literal placehodlers…
So then I tried passing the NAME & PROJECT_ID though to api:post as well in the hope it would interpolate the values where, but alas, they are still empty with this example…
This relates to #1415, but I didn't want to add a load of noise to that ticket.
I'm attempting to prepate a JSON string, to include variable names. I was unable to work out how to use them directly in the YAML object notation…
… so I'm using replace…
This seems to work fine, however when I attempt to autocomplete on the command line I get the error…
I tried using…
… however this resulted in a JSON string, when echoed in the
api:post
task contains empty values…If I echo the
{{replace "__PROJECT_ID__" "{{.PROJECT_ID}}" (replace "__NAME__" "{{.NAME}}" (toJson .JSON))}}
in the calling task then it contains the literal placehodlers…… results in…
So then I tried passing the NAME & PROJECT_ID though to
api:post
as well in the hope it would interpolate the values where, but alas, they are still empty with this example…… or even without the placement…
… but still the values of
name
andprojectId
are empty.Any ideas if this is expected behaviour, I'm doing something wrong, or in the wrong way, or is this just not possible right now?
The text was updated successfully, but these errors were encountered: