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

Allow users to set a timeout for a scripts execution

    Details

    • Type: New Feature
    • Status: To Do
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0, 6.4.0, 6.16.0
    • Fix Version/s: None
    • Component/s: Listeners
    • Labels:
      None
    • Critical Points:
      3.8

      Description

      As a Scriptrunner user

      I want to set timeouts for my scripts using a simple provided method like setTimeout(Seconds)

      So that I can write scripts such as listeners and ensure that if they take to long, they will be forcibly stopped if they reach my designated timeout.

      Notes:

      Users can do this themselves by starting up a new thread in their script and using a join with a timeout. However, users have expressed that they would rather have a simple timeout method to control this instead of working with Threads in their scripts.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mclark Matthew Clark
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: