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.
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.