Hi,
I created an automation role to increment field "Retarget no." +1 whenever the target date field is changed. I'm not sure what should be the smart value i need to add in "Retarget no."
any idea ?
Hi @Fadi Shahwan, You can use the smart value {{#increment}}{{issue.customfield_xxxx}}{{/}}
Hello @Manoj Gangwar ,
I learned something new today! ;)
Thank you for sharing; this is much better than a smart value of the mathematical type
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.
Hi @Fadi Shahwan ,
Please try below, it may be helpful to you.
Create a numeric custom field called "target date".
You'd need to set the Default Value to 0, and you probably want to make it "read-only" by only showing it on View screens.
create an Automation that is triggered whenever the "target date" field value changes.
then Edit the issue fields and have "target date" set to
{{#=}}{{issue.target date}} + 1{{/}}
Regards,
Kumar
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.
Hello @Fadi Shahwan
Whenever asking for help with a rule it will enable us to help you more efficiently if you provide screen images that show your entire rule and images of the details of the steps where you need help.
Without that information my educated "guess" about what would work would come from this page
https://confluence.atlassian.com/automation/jira-smart-values-math-expressions-993924866.html
{{#=}}{{issue."Retarget no.".}} + 1{{/}}
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.