Where should .jira/config.yml file be when using GitHub for Jira app with a monorepo?

Barney Spencer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 25, 2024

I have GitHub for Jira integration working for several apps/repositories and have applied custom environment mapping as described here: 
https://github.com/atlassian/github-for-jira/blob/main/docs/deployments.md#environment-mapping

It's working fine for one app/repo, but I can't get custom environment mapping working for a mono that has several projects. The custom mapping is ignored. The docs say 'you can add a file called .jira/config.yml to the main branch of your repository' but do not provide the file location. I assume it means the root, but this has no effect in my mono repo. Should each project in a mono repo have it's own .jira/config.yml??

2 answers

0 votes
Barney Spencer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2024

I got it working in the end. The .jira/config.yml does need to be at the repo root, including for mono repos with multiple projects.  I had a simple problem in my mapping config; I had exceeded the limit of 10 glob patterns in one of my environments which stops all patterns being processed. Check if that is your problem too. 

김경준
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2024

Can you share the `.jira/config.yml`?

I will appreciate !!

0 votes
김경준
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2024

Same here... It is critical issue...
Can anyone help...?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events