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 Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

465 views 8 27
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