Open your workflow and find the required transition. Then go to the post function tab and push the Add Post Function button. Then choose the Script Post-Function [ScriptRunner] post function. Then choose the Custom script post-function option and add your script.
HI @Syed Salman
Actually, you have not yet mentioned which JIra (Server/cloud) are you using, For this first, you need to Edit the workflow on which you want to apply this Post Function.
For JIra server:
1. Admin --> Issues --> Workflow --> select the workflow and edit in diagram mode
2. select and click on transition on which you want to apply the post function ..select post function, click on Add Post Function --> script post function --> custom script and then add the script and then publish your workflow.
For JIra Cloud:
When you click Add Post Function, you can choose from the available script post function and add the script.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs