We have a field "QC performed by" and we want that field to be auto-populated with the usernames who made the transition. can someone confirm if there is any post function or other way available to perform this action?
There is no such postfunction by default. You can use script runner (https://library.adaptavist.com/entity/change-the-value-of-a-custom-field-in-a-post-function) or JSU App (https://marketplace.atlassian.com/apps/5048/jsu-automation-suite-for-jira-workflows?hosting=cloud&tab=overview).
If you don't want to pay for these App, you can write your own App with postfunction. Tutotorial by Atlassian which can help you to do this is here: https://developer.atlassian.com/server/jira/platform/creating-workflow-extensions/ (in Part 2. Create the workflow post function)
Thank you!!
Hi, by using {{initiator.displayName}} it should work I think
or {{initiator.accountId}}
Hi @Anna I think you are talking about Cloud and Automation, but original theme is marked as "server"
oups sorry. And you don't have automation on server ?
It looks like you're new here. Sign in or register to get started.