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.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.