Can the Automation for Jira app set a value for a custom field in a post function? I am trying to implement a "self-reflecting" transition.
I am trying to implement a post function on a transition that sets a custom field and transitions the issue back to the same state. So, the issue in the Verify state initially has two transitions: Send back for More Work or Mark as Verified. When the verifier marks it as verified, a post function would set a Verified flag as "Yes". Then, the issue in the Verify state will have two transitions: Send back for More Work or Send to Closure. QA sends to closure.
Okay, I still don't think I am following it completely, but let's see.
Issue is moved by Verifier to Verify status. This sets the Verified flag as Yes. And then you want to transition to Send to Closure. Correct?
Otherwise, the issue is transitioned by the Verify to Send Back for More Work. And no automation is needed. Correct?
Issue is moved by Verifier from the Verify status to the Verify status . This sets the Verified flag as Yes. And then QA (different user) checks the Issue and, if acceptable to QA, wants to transition from Verify status to the Closed status using the Send to Closure transition that has a condition that only those in the project role of QA can do.
Otherwise, the issue is transitioned by the Verifier via the Send Back for More Work to the prior state, Implement. And no automation is needed, at last for the Send Back for More Work transition.