Hidden field depending on a Database Custom Field

Hello,

I would like to have a child field of a Database Custom Field that could be hidden to the user.

For instance, I have a Database Custom Field where user choose a country by its name and I need to record the country code in Jira database to export this code later in another database. The query that gives list of countries extracts also the country code corresponding and I can have a child field that take this code automatically when user choose a country name in the select list.

If the child field is associated with a screen, the code is properly recorded in Jira database but if not, the code is not recorded. But if the child field is associated with the screen, it's shown to the user and I wish to hide it. How can I do that ?

3 answers

1 accepted

Finally, I don't need this for the moment.

I've concatenated the department code and the department name and the resultant string is shown in the databse custom field.

I will export only the 3 first characters of the value because I just need to export the code.

But this fonctionaality should be useful ! Think of it !

Hi Philippe,

If you're talking about dbcf ( https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.databasecf ) I'm afraid this is not possible right now. However, you can add an improvement request on http://bugs.kepler-rominfo.com/ ; we'll see what we can do.

Yes I mean this plugin but my question is not specific to it. More generally, my question is : "Is it possible to hide a field in a screen ?"

If it's possible, you don't have anything to add to your plugin because child field can be anyone existing in Jira project.

I've found a way to hide a custom field : In "Field Configuration" screen, there is a link to hide each fields individually.

But the child field is not modified when the Database Custom Field is modified and the child field is hidden. In my opinion, it's a bug or a lack of function.

I now will try to hide child fields with Javascript.

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 ...

3,308 views 14 20
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