Hello,
I try to make estimation rule for corner cases - I wrote about it in previous post here: https://community.atlassian.com/t5/Jira-Software-questions/Need-help-in-automation-for-jira-with-summ-of-original-estimate/qaq-p/2239061
And I made the rule with all cases, except one:
Sub-task move to task - we need recount estimation in previous story, which was a paren of our sub-task
I try to find parent id in change log of our task by:
{{#changelog.parent}}{{fromString}}{{/}}
But it is not working
How I can know parent link in this case? Who can help me? :)
Hi @Oksana Baier ,
this is a tricky one. I would suggest solving this by setting the current parent key as an issue property named "oldParentKey" (or something like that) via a scheduled trigger with a jql of "parent is not empty" + set entity property for issue to {{issue.parent}}. Then have a rule which does so for every new issue with a parent or every time a parent is added to an issue.
This way, you can access the old parent key via {{issue.properties.oldParentKey}} when the issue type changes. Check for the presence of that property first and then do whatever you have to do with the key.
Hope this helps / is clear. If you have any questions or would like a more detailed explanation, just say so.
Greetings
Gideon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From what I tried, we cannot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.