I wanted to create a custom field to store the date when an issue/bug was closed. And I want to use this field in my reports.
Is there a way to populate a custom field with date value once a user close an issue or a bug?
With what date do you want to populate it? If you want to populate it with the current date then kindly read here:
If you want something other from the current date, you would need an add-on for it.
Hi Alexey,
Thanks for your reply. What do you mean by:
"Select the transition and open its Post Functions"
I went to edit the workflow and I can't see the post function or the button to add the post function.
Can you show me a screenshot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Click "Add Post Function" on the right, then select "Update Issue Custom Field".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tzu Hau Chai. Thanks for the info. I wasn't aware the first time that I need to click the line arrow connecting to the Closed status to reveal the Post Functions option. I should have read the instructions very well :-)
Hi Alexey. The suggested solution worked! Yay!. Thanks for your help. Follow up question though... The Date Closed field recorded the date when the issue was closed, but is it possible to record the date and time?
Thanks, mate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess this solution must save date and time. Is your Date Closed custom field the Date Time custom field? There are actually two types of custom fields: Date Custom Field and Date Time Custom Field. Kindly make sure that you chose the Date Time Custom Field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
You're right my custom field is just a date type.
Embarrassed to ask you, but here goes....
How do you change the field type from Date Picker to DateTime Picker? Do I have to delete it and recreate it and select the right field type? I'm afraid to delete it as it will might wipe out all the date closed records -- i.e., I got this warning message..
"Your custom field will be deleted permanently. This includes all values in issues with this field. No one can undo this. Deleted custom field data can't be recovered, ever."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kindly have a look at the following KB:
https://confluence.atlassian.com/jirakb/changing-custom-field-types-in-jira-158357.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use JIRA Suite Utilities plugin (or anything else that offers similar functionality), add a "Update Issue Custom Field" post function at the transition to the closed status, configure it to set the current date into a Date custom field.
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.