I am not a developer and have minimal coding experience. I created an issue collector page by copying one that already existed and editing it. The page has 4 different issue collectors - one for each area of the division.
However, I'm wondering if there is a way to put "if then..." code into the HTML that allows the form to have a field where if they select A, it goes to issue collector for group A and if they select B, it goes to group B's issue collector and so on.
I've attached screen shot of what the page looks like.
The form (also picture attached) is the same for all 4 groups. But I'd like to add a field to the forms with a selection box and if they choose Configuratiion Management & IT Asset Management (ITAM), then the ticket would be created in the id="BFQN" collector.
I only know enough about programming to write Excel formulas and Power BI queries so my programming knowledge in this area is limited but I just wanted to know if it possible?
Here is the current code (which I did not write :) ):
Product Area | Support Provided for | Request Support | |
Configuratiion Management & IT Asset Management (ITAM) |
|
| |
O/S (Operating System) Compliance |
|
| |
Patch & Vulnerability |
|
| |
Release Governance |
|
|
<script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=0e2bf256></script> <script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=6f960875></script> <script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=30361501></script> <script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=6241f3e5></script> <script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=ce46d543></script> <script type="text/javascript" src=https://agile-jira.wellsfargo.net/s/7020dde420a336c3d742e74964c541f5-T/-k57uj3/820007/9ypeoa/13b4b3966e88791ab7cd4b59585fc33e/_/download/contextbatch/js/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/batch.js?locale=en-US&collectorId=a41e8646></script> <script type="text/javascript"> // safely use jquery here since the issue collector will load it for you $(document).ready(function() { window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, { 'ce46d543' : { // === Backup/Replication/Capacity === triggerFunction : function( showCollectorDialog ) { $('#BFQS').click( function(e) { e.preventDefault(); showCollectorDialog(); }); } }, '30361501' : { // === Configuration Mgmt & ITAM === triggerFunction : function( showCollectorDialog ) { $('#BFQN').click( function(e) { e.preventDefault(); showCollectorDialog(); }); } }, '6241f3e5' : { // === Data, OS Compliance === triggerFunction : function( showCollectorDialog ){ $('#BFQD').click( function(e){ e.preventDefault(); showCollectorDialog(); }); } }, '6f960875' : { // === Patch & Vulnerability Mgmt === triggerFunction : function( showCollectorDialog ) { $('#BFPZ').click( function(e) { e.preventDefault(); showCollectorDialog(); }); } }, '0e2bf256' : { // === Release Governance === triggerFunction : function( showCollectorDialog ) { $('#BFTJ').click( function(e) { e.preventDefault(); showCollectorDialog(); }); } }, 'a41e8646' : { // === Risk Mgmt === triggerFunction : function( showCollectorDialog ) { $('#BFQX').click( function(e) { e.preventDefault(); showCollectorDialog(); }); } } }); }); </script> |
#com-atlassian-confluence .page-metadata { display:none; } #com-atlassian-confluence .page-metadata .author { display:none; } a.confluence-userlink.userlink-0 { display:none; } ul.contributors-list { display:none; } div.aui-header-inner { v } div.ia-splitter-left { display:none; } div.no-print { display:none; } div.labels-content { display:none; } div#breadcrumb-section { display:none; } div.aui-group { display:none; } div.bvPB_panelContent { height:330px; width:350px; } div.sidebar-container { width:0px; } div.bvPB_panelHeader { width:347px; } div.contentLayout2 { width:1700px; resize:none; } .button { display: block; height: 22px; width: 125px; padding: 2px; text-align: center; border-radius: 5px; color: white; font-weight: bold; line-height: 25px; outline: 2px solid red; } div.ia-fixed-sidebar { width: 5px; } div.ia-s[;itter-left { width: 5px; } |