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

Add Behaviours support setError() and clearError() for Apwide File Field

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Triage
    • Low
    • Resolution: Unresolved
    • 6.40.1
    • None
    • Behaviours
    • None
    • 2.1

    Description

      As a ScriptRunner user

      I want to be able to use Behaviours setError() and clearError() for the Apwide File Field

      So that I can mark the field as required and set the field with an error message whenever a condition is met. 

       

      Currently, Behaviours don't consistently work with the Apwide File Field. Behaviours cannot detect the changes on this field, the server-side script isn’t being triggered whenever a change was made.

      Example:

      If the user sets the Apwide field with setError() API if the field value is null/empty, the error message is still showing and blocking the users from transitioning the issue although the field contains a value.

       

      Hence, it would be great if ScriptRunner Behaviours supports the Apwide File Field.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpang JJ Pang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: