Hello,
I have a custom field on my Jira issue which is a date field. When a workflow status changes to 'In UAT' I would like a post function to trigger and populate my custom date field with the current date. I have been able to do this successfully.
My question is, I only want my post function to trigger only once to populate the custom data field and that is on the first time the workflow status changes to 'In UAT'. If I go back and forth after that with different workflow status, I don't want to post function to update the custom date again each time it goes back in to 'In UAT'. Please can someone let me know if this is possible?
Also, is it possible to set a condition on the post function for it to only populate if it's the first time the workflow status is set to 'In UAT' and if the custom field is empty (incase the date gets manually deleted)?
Thank you
Hi @Hana Katergi - Jira Workflow Toolbox and JMWE plugins have the feature to add conditions in the post functions.
-Akash
Thanks for the reply. Is it possible to do without a plugin?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible through project automation.
-Akash
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.
Trigger: Issue transition
From Any Status to 'In UAT'
Condition: JQL condition
Date_field is Empty
Action: Edit issue
Set the Date_field to {{now.jiraDate}}
-Akash
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.