Dear all,
I want to capture a date when a specific task has changed status form x to y. I was thinking about creating a new date field and set up a post function. However, I don't know which post function will provide that functionality.
Hi @Paulina Mijal , the out-of-the-box post functions only includes the "Update Issue Field" post function which allows you to update some system fields (such as assignee, resolution, priority).
A different approach to this is to use a scripted listener on a transition event and set the field value using a Groovy script (requires scriptrunner).
There are other apps that can help you do the trick (just search for 'workflow' or 'post function' on the marketplace).
Link to JMWE docs on this post function: https://innovalog.atlassian.net/wiki/spaces/JMWE/pages/68878480/Set+field+value
Link to Scriptrunner post function: https://docs.adaptavist.com/sr4js/latest/features/workflows/post-functions/custom-post-functions/custom-post-function-examples/set-issue-attributes
Link to Scriptrunner scripted listener: https://docs.adaptavist.com/sr4js/latest/features/listeners/custom-listener
Okay, thank you for advice. I have one more question. I need this information (transition information) in another application. I will be using the API to get it. I just wanted to get the data from the fields, but maybe it is possible in another way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paulina,
I do not use server version and it has fewer post functions than what is in Cloud. Can you share a screenshot of your Post Function options?
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.