Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

MSSQL Support for atlassian/jira-software docker image Edited

Is it possible to run the atlassian/jira-software docker container using Microsoft SQL Server without creating a custom dbconfig.xml.j2? 

Looks like the image is hard coded to use the schema "public"[1] which is a reserved keyword in MSSQL[2] and I'm guessing the code doesn't correctly quote references in brackets

[1] https://bitbucket.org/atlassian-docker/docker-atlassian-jira/src/872ee106c71ab2b1cc41929c53b14e5c5d401445/config/dbconfig.xml.j2?at=master#dbconfig.xml.j2-6

[2] https://docs.microsoft.com/en-us/sql/t-sql/language-elements/reserved-keywords-transact-sql?view=sql-server-ver15

---

Side note: is it possible to open issues or pull requests directly associated with the docker-atlassian-jira repository? Or is it just public source and not open to public contribution?

1 answer

1 accepted

0 votes
Answer accepted

Hey @Chris

We ended up fixing this a few days after you originally made this post. It was addressed here: https://bitbucket.org/atlassian-docker/docker-atlassian-jira/pull-requests/32/set-default-db-schema-name-according-to-db/diff

the tl;dr is that we set the correct default for MSSQL ("dbo") and also provided a new environment variable to allow you to override the schema, `ATL_DB_SCHEMA_NAME`

As for pull requests, you can fork the docker-atlassian-jira repository and open a pull request - our team will review any changes and discuss them in the PR.

Cheers,

Dave Chevell  

Hello  Team,
This Qs is outof Jira cloud domain , I installed Jira on Docker and try to connect with MS SQL server which is running on Docker too. I Installed SQL server from the following link ,

https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-linux-ver15&pivots=cs1-bash

Can you please help me in knowing exact parameters while setting up database .. I am getting some error while testing connection

Thanks,
Faisal

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

170 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you