Hello,
I want to use a post function to update a custom field "close date" of date type to "CURRENT DATE", when a transition is executed from done status to closed status.
I have attached the list of post functions available.
I can use only the below JWT plugin options , since we do not have script runner or Jmwe.
Thanks in advance
Hello @Abhi.
I am part of the Support Team of Decadis and I will gladly answer your question.
In order to update a Date Picker or a Date Time Picker field with the current date and time, you can use the Update or copy field values post function.
Select within the post function the Date Picker or Date Time Picker custom field of your choice that you need to update and set the value Copy field value from current issue and copy the field Current date and time in the pop-up window.
If you need more information, you can always take a look at our documentation or contact us via our Support Service Desk.
Best regards,
Vicente
Hello @Vicente Domínguez _Decadis AG_
Yes this is working as expected I have used date and time logged in a transition.
Thankyou
Have a great day
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.
Hello @John Funk
Thankyou for your response.
I can choose update issue field , but i dont have an option to select custom field , Options to select I have is only for system fields.
as below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, looks like Server version might not have that available. Is there a Set field option? Can you share all of the post functions that are available to you?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , @John Funk I want the date to be set to current date only if the field is empty. Is there any alternative to writing the post function script for this functionality?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kedar Kanel - I usually do that with two different transitions - one with a condition that the field is empty and one where it is not empty. Then add you Post function above to the appropriate transition.
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.