Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-6283

The Visual tab of the Description field is uneditable if the Description field is changed from read-only to editable using Behaviour



    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • 7.3.0
    • 7.7.0
    • Behaviours
    • None
    • SR4J 137 (7.7.0)
    • 1.5


      If the Description field is set to read-only by default and is made editable depending on the option selected from a List, the Visual tab of the Description field is uneditable. However, the Text tab of the Description field is editable.

      Steps to Reproduce

      Provide a detailed step-by-step process to reproduce the problem.

      1. Create a Server-Side Behaviour for a field, for example, a List. The List is used to change the Description field from the read-only mode to the editable mode based on the option selected from it.
      2. Below is the sample code that has been tested:-
        import com.onresolve.jira.groovy.user.FieldBehaviours
        import groovy.transform.BaseScript
        import static com.atlassian.jira.issue.IssueFieldConstants.DESCRIPTION
        @BaseScript FieldBehaviours behaviours
        def sampleList = getFieldById(fieldChanged)
        def sampleListValue = sampleList.value.toString()
        def description = getFieldById(DESCRIPTION)
        description.readOnly = true
        if (sampleListValue == 'Option1') {
              description.readOnly = false
      1. Below is a screenshot of the Behaviour configuration:-
      2. Create a new Issue. By default, the Description field is hidden and read-only. Select the option from the List to make the Description field visible and editable.
      3. Try to enter some text into the Description field from the Visual tab.

      Expected Behaviour

      The Visual tab is expected to be editable, and the text can be entered.

      Actual Behaviour

      The Visual tab is not editable, and no value can be added. Only the Text tab is currently working.

      Additional Info

      A test video is included for reference:- test1.mp4


        Issue Links



              msaqib Muhammad Saqib
              rkumar Ram Kumar Aravindakshan
              0 Vote for this issue
              3 Start watching this issue