Automatically un-check a custom field during a transition

I have a custom field (checkbox )named unit test which is set to pass during workflow transition from A to B. If the worklfow transitions from C to D i would like the checked value (pass) to be unchecked.

I have tried using following post functions nothing worked.

1. Update Issue Custom Field

2. Update Issue Field

3. Update/Set Custom Field to predefined value

4. Clear Field Value

 

Kindly let me know if anyone how to go about it.

2 answers

0 votes

Hello,

I just tried it on Jira Cloud

If you want to set a value for a checkbox custom field, you should use the Update Issue Custom Field post-function. It should be first in the post-function list.

If you want to clear the value for a checkbox custom field, you should use the Clear Custom Field post-function. It should be first in the post-function list.

After you made changes to your workflow, kindly do not forget to publish the draft.

Hi Alexey,

Thanks for your response. I am using Jira Server 6.4 and i have tried using both the post functions that you mentioned but still after the transition i can see Unit Test option pass as checked instead of being unchecked. I do publish the workflow every time i make changes. 

Unfortunately I can not check in on Jira Server 6.4

Problem Solved Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,130 views 0 8
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you