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


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 vote

>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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

763 views 2 19
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