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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.