Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Defining a Severity Definition based on Single Select List

Clive Patrick July 6, 2018

I have custom fields for Severity (Select List Single Choice) and Severity Definition (Text Field Multi-Line).

The values in the Severity select list are:

  • Blocker
  • Critical 
  • Major
  • Minor
  • Cosmetic

I would like the Severity Definition field to  be populated with a definition appropriate to value selected from the list.

i.e.  If I select the Severity 'Blocker' the Severity Definition field will be populated with the text "This bug is preventing any further testing....."

If I select the Severity of 'Critical', the Severity Definition field will be populated with the text  "Bugs causing a severe operational impact for which no acceptable workaround is available"

etc., etc.

 

Is this possible to do without having to purchase a plugin?

Thanks.

 

1 answer

0 votes
miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2018

Hey there!

Welcome on Community!

Natively, without Apps, you can't "link" two fields to create dependencies on the values. The only way I could imagine would be to embed the description in the dropdown values which is not that convenient.

If you choose the addons path, you might want to script it (Script Runner or Powerscript), that way you'll have more flexibility :)

Hope this helps!

Cheers

Clive Patrick July 6, 2018

Hi Micky,

 

Thanks for your response.  Could you explain what you mean by "embed the description in the drop-down values"?  

Thanks again.

miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2018

Hi!

It's not the perfect solution but you could have your severity dropdown with values like:

  • Blocker - Breaking main features or Known security issues
  • Critical - Description goes here
  • Major...
  • ..
  • ..

That would, that way, be displayed to end user but if your description is quite long, that won't work well, at least aesthetically!

Cheers

Clive Patrick July 6, 2018

Ah, right.  See what you mean.  They would need to be quite long so don;'t think that would work too well.

I thought I read somewhere there maybe a way of doing this by adding javascript to the Description field of the custom field, but not sure how to do this (i'm not a developer, so have limited experience with javascript).

Cheers.

miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 6, 2018

Yeah, plus javascript might not be reliable after upgrades and depending on the browser :( Still, it's a workaround.

If you want to explore it, that might be put in the Announcement banner and then, you'll have to find a way to do it haha

Best luck!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events