Hey,
We have 1 workflow which is associated with multiple projects.
For specific projects I need to make Original Estimate is mandatory if issue moved to "In Progress" state from any other state.
Thanks,
Ronak
Hi @Ronak ,
There are 2 options.
project.key=='PBI' && ! issue.originalEstimate
Hello @Mehmet A _Bloompeak_ ,
Thanks for prompt reply.
I agree with that and I know that solution already tired.
I am looking if it can be done via script (example below) because I have already 200+ workflows are in place. I tried with changing scripts but still it didn't help me. So probably I doubting script needs to be accurate to execute this.
if(project.key == ""){
if(originalestimate != null){
return false;}else {return true;}
}else{return true;}
Thanks,
Ronak
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.
I have created script base I have provided in my previous reply.
if(project.key == ""){
if(originalestimate != null){
return false;}else {return true;}
}else{return true;}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am happy that you solved it.
You might simplify the script as below
return (project.key != "" || originalestimate == null)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
kinldy, could plz tell us where can i put this script ?
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.
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.