How to copy create subtask via JMWE postfunction and set value in postFunction like this:
Customfield 10500, type singleselect
If (customfield_10500Of current task == M) {
then customfiled10500OfCreatedSubTask == S
}
else if (customfield_10500Of current task == L){
then customfiled10500OfCreatedSubTask == M
}
....
and ect.
Hi @NewByatl
Can you share the full post function configuration? I'm having a hard time understanding what you're trying to achieve, and I'm particular why you're accessing sub tasks of the current issue...
Sorry, I'm stupid. I no idea why a have done it.
Just fixed code like this and it's works!
if (issue.getAsString("customfield_10500")=="M"){
return "S"
}
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.