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

As a JIRA Administrator, I need to be able to load Conditions and Validators from source files so my whole ScritpRunner customization can be code reviewed and deployed to a file system

    XMLWordPrintableJSON

Details

    • Story
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 5.3.0
    • None
    • Sprint 35 - Ends Oct 10, Sprint 35 - Ends Oct 24, Sprint 36 - Ends Oct 31, Sprint 37 - Ends Nov 14, Sprint 37 - Ends Nov 28
    • 0

    Description

      Currently you can only load listeners etc via a Script File, not validators etc in Post Functions 

      Everywhere where load conditions etc. we need to ensure that you can choose from a file on the FS 

      Acceptance criteria: 

      • In all conditions in ScriptRunner for JIRA, you have the same dialog as for Script Console (both an inline editor and a choice of a script file) 
      • All associated assumptions about the editor works as expected: 
        • if file is not found, error is returned
        • if there is an error in the script file
        • editor will show which script roots are available 
      • Ensure that backwards compatibility holds

      Attachments

        Issue Links

          Activity

            People

              amarkham Adam Markham
              nriley Neal Riley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: