You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to have the following behavior: A certain transition in Task workflow automatically updates a field in the Task's linked Epic. However, the update to the Epic depends on the value of a custom field in the Task. For different values of field 'task type' I want to set different field/value in the related Epic.
I started by trying to define a post-function in the Task workflow transition, but couldn't see an option to perform such logic.
WF post-functions can definitely do the job, however it will requires custom scripting. With WF, I would recommend the following valuable add-ons to assist and make your job simpler to create custom post-functions calls -
Script Runner for Jira Cloud - https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud
Jira Misc Workflow Extensions - https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview
Both add-ons have built-in post function/condition/validator routines that you can use to apply your customization with minimum coding required. I would highly recommend those two add-ons.
On the other hands, Automation for Jira (it is part of Jira Cloud env from Atlassian) is also an excellent tool to achieve what you want. Here are some references -
The key thing that you need to ensure that the actor of your automation rules must have the appropriate edit rights to your TASK and EPIC issues, so your rules will be fired/executed accordingly.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team