How Post Function To Transition -> Clear Field Value or Update Issue Custom Field to 'None' works in Jira

Hi,

I have created one custom field "Impacted sub-systems" i,e Select List (multiple choices).

But while creating a ticket user might update this value sometimes but not mandatory.

It's default value is set to 'None' by default in Jira.

But I want to clear/purge this value updated, as part of the post function in my workflow.

I am not sure if it's not set means with default value 'None', if I use the below post functions how it works??

1) Add Post Function To Transition -> Clear Field Value OR

2) Add Post Function To Transition -> Update Issue Custom Field to "None"

I want to make sure it should not break my production workflow by adding this condition.

If this field value is updated by ticket creater means, anyway it will clear the values updated in it using these options. Please suggest how these functionalities works.

  • Manju

 

1 answer

1 accepted

0 votes

>its default value is set to 'none'

Ah, ok, that's not quite true.  None is the word JIRA displays to the user to say "there is no data selected yet".  It's not a selection, it's telling the user they haven't select anything.

If you put post functions on a transition to set or clear it, it will overwrite what the user enters, so you should either not use post-functions, OR remove the field from the transition screen so that they are not asked for a value that will then be overwritten.

When you want to empty out a field, I find it is better to use "clear field value", so that it's clear to other administrators what you have one

Thanks for the clarification Nic.

In case, if user has not set any values to this custom field while creating the ticket and If I tried to use the "clear field value" in one of the transition post function - is it OK?

The "clear field value" will empty out the field, whatever the previous content.  It's fine to clear out an already empty field.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,934 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot