Desired Use Case:
The values in "Component" and "Sub-Component" are Text Based
Risk Assessment should be a Boolean value "Yes" or "No"
Example:
If Component = Value A, Value B or Value C
and
Sub-Component = Value 1, Value 2 or Value 3
then
Risk Assessment = Yes
else
Risk Assessment = No
What would be the best way to achieve this use case?
In this instance I would recommend taking a look at setting automation rules as @Bill Sheboy mentioned as what you're describing is achievable with a Field Value Changed Trigger and Edit Issue Action (To update the Risk Assessment field).
You did mention sub-components, are these custom fields you have? (Both for component and sub-component)
Because as far as I'm aware sub-components aren't natively available in Jira Cloud.
https://jira.atlassian.com/browse/JRACLOUD-846
Unless you use a 3rd party plugin such as: https://marketplace.atlassian.com/apps/1211548/subcomponents-for-jira?tab=overview&hosting=datacenter
Alternatively:
I would personally use automation as it pretty much achieves the same result without having to write any custom code.
Kind Regards,
Ash
Hi @Adam Cormack -- Welcome to the Atlassian Community!
I do not know if there is a "best" way to do this, although I can think of a couple of approaches:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.