I want to make certain fields mandatory in the Edit screen, but only when a certain Component is selected in the issue.
I've tried using ScriptRunner to do this, but can't seem to write the right server script to check for the correct Component selection?
So for example, if 'M&P' is selected, I want the fields to show as mandatory. If 'Design' is chosen, then NOT Mandatory.
Ideally, I only want certain fields displayed and mandatory when the 'M&P' component is selected, but hidden otherwise.