We need help in configuring a couple of fields in Jira. We have admin rights. Please let me know if this would be possible.
1.date to UAT – Field exists. We want this to be auto filled once a story is moved to UAT by Developer
2.Date story moved from “to do” to “In-progress” . we need to create a date field to capture this automatically.
Please let me if there are any chances to do it. Please do needful.
Hi @uday ,
You would need any of the plugins like JWME/script runner/JSU
1. Add a post-fuction to the UAT transition to update/set field value to current date.
2. Create a new field in your instance - Date story moved
and create a postfuntion as mention in 1, but for To Do --> In Progress.
Use the code in the postfunction
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def dateCf = customFieldManager.getCustomFieldObject("customfield_12345") // Date time fields require a Timestamp
issue.setCustomFieldValue(dateCf, new Timestamp((new Date()).time))
customfield_12345 should be custom field id
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events