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

An ability to stores all environment specific variables

    Details

    • Type: New Feature
    • Status: To Do (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.6.1.1-jira8
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Critical Points:
      0.6

      Description

      I am building custom workflows for respective issue types in Jira that involve significant amount of validators and post functions to be written. Now most of these validators and post functions are using

      1. Custom field IDs to read values
      2. API call to 3rd party tools

      This development is currently being done in a sandbox environment and at a future date we would want to move this to higher environments.

      What I need to understand that instead of hard coding all custom field IDs and API URLs, is there a mechanism where I could define a config/yaml file in Bitbucket, which stores all environment specific values and based upon the environment in which the tool is running, the respective values are read as and when required from there ?

      Workaround

      Write a script to call some specific classes in a file by storing it in the scripts roots directory. Or try using our Script Editor feature (if you can't find this feature, please update SR addon to the latest version)

        Attachments

          Structure

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jloong John Chin Loong
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:

                  Structure Helper Panel