Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to update parent field from child using SIL post function script.

vishal May 16, 2019

Hi Guys,

i am trying to update the parent(customfield_10031) field from child subtask but its not getting updated.

if(isNotNull(parent))
{
description = "Testing";
customfield_10033 = currentDate() + "4d";
}

if(status == "CLOSED")
{
labels = "my label";
}
else if(customfield_10033 != "")
{
string issue_parent_Key = key;
%issue_parent_Key%.customfield_10031 = "False";
}

what is wrong in the above code?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events