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
Alexey Matveev Community Champion Jan 17, 2018

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. 

Alexey Matveev Community Champion Jan 18, 2018

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
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

914 views 4 5
Join discussion

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