You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.