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

Accepted Answer
0 votes

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,760 views 2 7
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