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.
Hi,
I would like to take an attribute from Insight's object (numeric) and set it do custom field (number type). When I try to use an Insight's postfunction "Set a Jira custom field with the attribute value from a selected object ", I can't choose number's type field :(
Is there any other option?
I need to take a value from Object, make simple math operation (decrease) and put new value back. Can't use postfunction Increase or decrease the value of an object attribute" because change value should be taken from other cunstom filed.
Regards,
Krzysztof
Hi, I'm curious if you succeeded in the end to take a value from Object, make a simple math operation and put new value back?
If so, how did you manage this?
Kind regards,
Marco Brundel
Hi Krzysztof.
As noted on the Postfunction itself: Supported fields are Jira Text fields and Insight custom fields. Number CF is not supported here.
The alternative is to use a script Postfunction, where you extract the Value from the Attribute, and set it to the CF. Be aware that the Number CF supports a "Double" - with 2 decimal digits.
Please have a look at our Groovy Script Examples for reference.
Kind regards,
Yinon
Team Riada
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.