Store resource files (templates and scripts) in the server-side filesystem (for version control purposes)

It would be great if there was a way to access the templates on the actual file system so that we could track our templates via a version control system (i.e. git)

Have more questions? Submit a request

7 Comments

  • 2
    Avatar
    Areg Vrtanesyan

    I am looking for the same as we have one production and multiple staging instances and it is very hard to track it all down.

    If templates and scripts are in version control they are quite easy to manage and manipulate.

    I am really interested in this too

  • 1
    Avatar
    Aron Gombas

    Another user mentioned similar motivations:

    We want use version control for our templates and scripts. We will test on dev and QA servers first and then deploy to production from version control.

  • 1
    Avatar
    Areg Vrtanesyan

    Yes please.

     

    It will simplify our life.

    Template definition could still live in Jira so it is easy to refer to it but body will be ether inline or file system.

    Like in ScriptRunner.

    Really nice and powerful.

    Regards,

    Areg

  • 0
    Avatar
    Josh Simnitt

    I would like a feature like this.  I currently either download the template using the interface (when using Better Excel) or else need to copy and paste the .vm or .groovy files manually when using the JIRA PDF Views plugin. 
    It would be really nice to either have integration with a plugin like IntelliJ that could automate this process, or at least have a way of interfacing directly with the files on the server.  There is no built in way to track changes that I am aware of, which this would help solve.  Maybe you could put some type of intermediate folder in the plugin that could hold 'drafts' of code or something similar.

  • 0
    Avatar
    Aron Gombas

    Josh, do you realize that with Better Excel Exporter, you can use the so-called DevMode?

    This accelerates template and script development, and integrates with IntelliJ IDEA or with any editor, in fact.

  • 0
    Avatar
    Josh Simnitt

    Hi Aron,  

    I'll try to do that.  I don't have access to the actual server itself (only the web interface) but I could try to make a local instance on my local computer and then use the DevMode there, and export the changes as suggested here:

    'For heavy template development or scripting work, we suggest using a Jira developer instance, and "releasing" the completed templates by uploading them to the production Jira.'

  • 0
    Avatar
    Aron Gombas

    Yea, Josh, that's exactly what we do ourselves!

Please sign in to leave a comment.