You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
For example the ->map() function of arrays expects a function as parameter which is then executed on every item of the array.
How do I pass this function when calling from within the table fransformer plugin?
So I want do something like this:
SELECT *,
T1.Sprint->split(" ")->map(->match(("[0-9][0-9].[1-5].([1-6]|IP)")->0)
FROM T1
Any ideas?
P.S. Markup for an example table
||Key||Sprint||
|MC20-2943|MC20-23.2.1 (Feb 26) MC20-23.2.2 (Mar 12) MC20-23.2.3 (Mar 26) MC20-23.2.4 (Apr 09)|
Hi @Stephan Bauer,
I see that you have a similar question here, so please let’s move to that thread.
Yes, but no ;-)
The use case I picked is the same but the map function of arrays is just picked as an example here.
The underlying question, I would like to get an answer to, is the one stated in the tite:
How to use js functions that expect a callback function as parameter?
Since I ran into this already multiple times and did not get it working I am interested if this is possible or not.
Best regards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stephan Bauer,
Unfortunately, you can't use js functions that have arguments as functions either. This comes from the security side of the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.