I have a rule that clones an issue. One of the fields being copied is called ‘Frequency’ and holds values of Weekly, Monthly, Quarterly, Semi-Annually, Annually. When the new issue is created, I need to ‘apply’ this Frequency value to the due date of the original issue do determine how far out to make the Due Date of the new issue.
So, if the original issue had a Frequency of ‘Quarterly’ and a Due Date of July 1, 2017, the cloned issue would have a Due Date of October 1, 2017. Any help you can offer as to how to accomplish this in the rule for the frequencies listed would be greatly appreciated. Thank you!
So we don't support this very well yet (what you really want is some way to create a mapping of values - https://codebarrel.atlassian.net/browse/AUT-173).
For now you'd have to create another rule like this:
See https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/24903696/Working+with+Dates for more details on available date functions.
So the idea is that you have another rule that listens for when the issue gets cloned (ensure this rule can be triggered by another rule in 'Rule details') and then for each of the different values of the 'Frequency' field it edits the issue with the appropriate future due date.
Hope this helps. Like I said it's a bit cumbersome, but we don't have a better solution at the moment.
Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs