Forums

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

Removing Value from Custom Field upon Workflow Transition

Chris Olofson January 13, 2019

In Jira Software / Cloud, we have a custom field. When issues experience a certain transition, we'd like the value to be removed automatically from the custom field. Is there a way to configure this in the Workflow transitions? If so, is there step-by-step documentation available? And what is the best way to test the updated configuration safely before it affects the (cloud) production environment? Thanks.

3 answers

2 accepted

0 votes
Answer accepted
Chris Olofson January 15, 2019

Hi Petterson,

Thanks for the recommendations. Per the attached, the custom field is "Single List (single choice)" 

Custom Field.png

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2019

Hello Chris,

Testing from my side, the same steps described in my last answer should work for Select lists (Single choice) too.

Please, let me know if it works for you.

Chris Olofson January 21, 2019

Thank you. We made the configuration change over the weekend just in case anything went wrong. Everything worked great. Thank you for the help.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2019

You are welcome, Chris.

Have a nice weekend!

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2019

Hello Chris,

Can you let us know what is the type of your custom field?

Basically, you can clear the value of custom fields by configuring the post function Update Issue Custom field in the workflow transition. Here are the steps:

1 - Navigate to your Project > Project Settings > Workflows > Click to Edit your workflow under the actions menu

Screen Shot 2019-01-15 at 15.24.44.png

2 - Click in the intended transition > Post Functions

Screen Shot 2019-01-15 at 15.25.48.png

3 - Add the post function Update Issue Custom field, select the field you would like to clear and leave blank the Custom field value:

Screen Shot 2019-01-15 at 15.26.45.png

4 - Publish your workflow

I believe this is a very simple configuration that will not have a great impacting on your current scenario, however, If you would like to try it in a non-production environment first, you can sign-up for a new dev environment in the link below:

Cloud Development Environment

Please, let me know if it works for you, Chris.

0 votes
Kevin O'Shaughnessy April 13, 2022

Is this function available in Server?

Thanks

Kevin

Suggest an answer

Log in or Sign up to answer