Hi
Thanks for the response and the help.
After adding your script to my script create transition, I get this error:
In addition, I need this if in your script:
18:30<CREATED date< 00:00
I need also an else in your script:
else it should set just created date at 8:00
can you please see send me a new one.
Thanks a a lot for assisting me!
You ve got the ScriptRunner add-on. But I gave a script for the Power Scripts add-on:
I do not have a script for ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thx
that won t help me cause i have a sriptrunner add-on
thx again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are most welcome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You would need a plugin for it.
For example, you could use the Power Script add-on:
Your code would look like this:
#{Start Date} = created + "1d";
You can implement any logic you need in this code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response.
Can you assist me with writing the right code because i am not familiar with scripts.
How can i add my "if" to your code?
Thx a lot for the help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your script will be like this:
if ( (hour(created) == 18 && minute(created) >= 30) || (hour(created) > 18)){
date startDate = created + "1d";
#{Start Date} = toDate(year(startDate), month(startDate), day(startDate), 8, 0, 0);
}
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.