I have a custom field I created and added to the Issue View called 'Closed Date/Time'. I also created an automation rule where once the Issue is transitioned to 'Closed', the 'Closed Date/Time' field is edited using {{now}}.
With that, after creating a new issue and viewing it in the issue view, I see my custom field called 'Closed Date/Time' and it is populated with nothing.
The issue is when I transition the issue to 'Closed'; the 'Closed Date/Time' field just disappears from the issue view.
I looked at my automation's audit log and it gives me an Unknown fields during edit error.
I then used the find your field option in the issue itself and it found my field with no issues.
Another thing worth mentioning is when I set the automation to trigger on when the issue is transitioned to 'Resolved' instead of 'Closed', the field populates as expected and is visible.
Does anyone have any advice on how to get this to work?
Hi @Nick Danielson , if I understand your problem correctly, I did something similar to this with a custom field called Complete Date and a post-function on the workflow transition from Resolved to Closed:
When the issue transitions from resolved status to Closed status, the field automatically updates with the current date per the code. I also made the field view only for audit purposes. You might try this if it sounds like what you're looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nick Danielson !
I have a couple of ideas to try:
Good Luck! Let me know if these ideas help!
Alicia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alicia Peebles !
Thank you for your response.
I'm using the below trigger. It's a very simple automation so that lends to my confusion.
I'm also seeing the 'Closed Date/Time' field appear in the edit issue action of the automation.
Do I need to configure the workflow so the transition to Closed includes a post function? If so, do you know what that might be?
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.