Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation for Jira: Can it set value of a custom field in a post function?

Boyd K
Contributor
September 7, 2022

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.

2 answers

0 votes
Boyd K
Contributor
September 9, 2022

I am finding that the Automation for Jira does not allow for a custom field to be set as a post function on a status transition.

0 votes
John Funk
Community Champion
September 7, 2022

Hi Boyd,

Can you describe your scenario in a little more detail? 

Boyd K
Contributor
September 7, 2022

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.

John Funk
Community Champion
September 7, 2022

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? 

Boyd K
Contributor
September 7, 2022

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events