Hi,
I am trying to get the "Worklog" value from a parent ticket to be added to a linked issue's "Worklog"
{
"update": {
"worklog" : [
{
"add": {
"timeSpent" : "2d"
}
}
]
}
}
}
I need the smart value for the PARENT ISSUE'S WORKLOG as value for the "timeSpent".
I have already tried the following:
Anyone knows the answer?
Regards,
Nawaaz
Automation doesn't load all the issues in the tree (issue to parent to links...) into the scope at run time. Instead, I believe that you will first need to get at the parent issue, perhaps using a Branch statement, and then store the value in a Create Variable. Then you could use that variable's smart value in the child issue.
Best regards,
Bill
Hello @Bill Sheboy ,
Thanks for your response.
Actually I managed to pull the trigger issue's worklog time spent by using this value:
{
"update": {
"worklog" : [
{
"add": {
"timeSpent" : "{{triggerissue.worklog.timeSpent}}"
}
}
]
}
}
}
And it works perfectly.
Regards,
Nawaaz
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.