Hi,
I've got a requirement to create an automation rule that will monitor the change of the Target End date on a particular type of story. If the story belongs to type A, I want to compare the story's Target End date with the Epic's custom field "Target End A" and copy the value to "Target End A" if it is a later date.
Two problems I encountered:
Hey there,
I couldn't find an option to find out whether a date field is larger/later than another date field.
There's an open request for this on the "Compare to" condition. You should be able to use JQL condition with smart values instead. You'll need to format the date in a JQL friendly format, something like:
"Target End date" > "{{#issue.epic.Target End A}}jqlDate{{/}}"
BUT "Target End" is nowhere to be found
You might need to make the target end field available to edit screens for your project https://confluence.atlassian.com/jiraportfolioserver/showing-portfolio-custom-fields-in-jira-software-857058481.html
If this isn't what you mean, could you post some screenshots of your rule config?
Cheers,
Mark C
Hi Mark,
Thanks for your answer. While it's not exactly how I solved the problem but it gave me the idea to use JQL condition instead.
So for the record, my solution are:
"Target End A" < {{triggerIssue.customfield_10103}}
{
"fields": {
"Target End A": "{{triggerIssue.customfield_10103}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
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.