Want to have “Ticket ID” CF whose link should differ based on the value.
Tried to make it possible with use of “RT::Extension::ConditionalCustomFields”, but the Extension seems to not work.
It gives possibility to show/hide CF during ticket creation based on value of “parent” CF. This way it is possible to create “Ticket tool” CF and then “Ticket ID (Jira)” CF (with “Link values to”) to show up when Jira value of “Ticket tool” has been chosen.
The other way should be to use Callbacks, but not sure how.
Does somebody have how to do this suggestion?
It is the process for the URLs where they are trying to build up the custom place where the permission for showing the urls and if any more way you want to know then you can take the help from dell printer support where you can share or collect the information.
I just had a quick play with RT::Extension::ConditionalCustomFields as it wasn’t an extension we’d tried before. Seems to work on our 4.4.2 test install of RT OK (remember that you need to apply the right patch, clear the Mason cache and restart the web server).
I then created a couple of custom fields called “Ticket Type” and “Ticket ID (Jira)” and attached them to one of our existing queues (“MALS”). “Ticket Type” CF has two possible values - “Alemba” and “Jira”. If Alemba is chosen, we don’t show anything else, but if “Jira” is chosen we want to show the “Ticket ID (Jira)” CF ready to be filled in. Here are the two custom field definition screens:
Note that the RT::Extension::ConditionalCustomFields appears to depend on having selections available - it doesn’t appear to support conditional display of fields based on pattern matching of non-selection parent fields.
The resulting ticket creation screen looks like this:
As you can see here I’ve selected a ticket type of “Jira” so the “Ticket ID (Jira)” prompt has appeared. If I put something in there (say “123456”) and create the ticket, the resulting display shows the link to “www.somwthing.ac.uk/somewhere/123456” as expected:
This is exactly I was trying to do. At the moment stuck with some errors, nevertheless we are ok with showing all ‘ticketing’ CFs at the moment. Will have to find the root cause of the RT errors after RT upgrade and extension installation.