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
Hey there,
I need to pass smart value in Jira Automation for it to set a date field based on the below conditions:
If customfield_10206 <= now.startOfMonth Then now.startOfMonth
Else now.plusMonths(1).startOfMonth
Is it possible to achieve this in smart values?
Here is the rule.
Use less than for your requirements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Without seeing your complete automation rule for context, I believe there are at least 2 ways to do this: use if/else conditions or use conditional, smart value expressions.
What have you tried thus far to solve this?
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is already part of another if/else statement within automation. I would like to use the smart value expressions, but I can't get it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe that is possible with a conditional, smart value expression: https://confluence.atlassian.com/automation/jira-smart-values-conditional-logic-1081351607.html Such conditions only have "true" cases, not if/else, and so two expressions will be needed or you can combine this with a math expression: https://confluence.atlassian.com/automation/jira-smart-values-math-expressions-993924866.html
Please post images of what you have tried, and explain what is not working as you expect:
Those will provide context for the community to offer suggestions.
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.