Forums

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

Set automatic CustomField Description Of a Field Value selected in Single Select CustomField

Kumar
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.
January 28, 2019

Hi Team,

I have a requirement here In my project I have a select list field in that i have options (A,B,C,D).

So Here when the User Select the Value "A" in Select List Field While Creating / Editing  Need to dsiplay the Option "A" Description.

I can put a description for a Field But here I want to display the Value(A) Description under the Field or some where Like the same for Other Options.

Depends upon selecting the field value I want to display the Value related description.

Is that Possible ?? if it is can any one suggest me please 

 

Thanks,

Kumar

1 answer

1 accepted

0 votes
Answer accepted
Kumar
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.
January 29, 2019

Hi Team,

I resolved it By using Jquery for custom Field Description (Multi select )

Admin settings > Issues > customfields > select the multi select field > Edit it and Paste the below query in the Description 

<textarea id="des" rows="4" cols=50></textarea>
<script type="text/javascript">
$(document).change(function() {
$("#customfield_10012").each(function() {
var selectedvalue = $("#customfield_10012").val(); // your Custom field ID
var description = "";
if(selectedvalue == "10100"){ // Field Option ID's
description = "abcdefg"; // Add your description of each Option

}else if(selectedvalue == "10101"){ // Field Option ID
description = "ABCDFEF"; // Add your description of Option

}else if(selectedvalue == "10102"){ // Field Option ID
description = "AbSbJCksd"; // Add your Description of Option
}

$("#des").val(description);
});
});
</script> 

Here Where the Custom Field available On the Screens If you Goto that Project and If you click Create / Edit When you select the Option of that Field Under that Field  it will show the related description of each option the dialog box.

 

I hope it helps for somebody 

 

Thanks,

Kumar

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events