The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict developers from fixed status without a git commit?

Family Lee
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!
May 11, 2022

Need the ability to restirict developers from moving the ticket status to fixed without a GIT commit.  Our current deployment model do not use a CICD pipeline.  Therefore, we can't force users to use GIT to deploy the code.

One way we can force users to commit their code to GIT is to prevent their JIRA ticket progression without a GIT commit.

Is this possible in JIRA to check for a GIT commit?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Craig Nodwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 11, 2022

Hi @Family Lee yes this is very possible, providing you have your Jira project connected to a version control system it will track commits and pull requests submitted with a Jira ID in the commit message.  JQL for a connected BitBucket Server 

fixVersion = x.x.x AND development[pullrequests].open > 0

fixVersion = x.x.x AND development[commits].all > 0

Jorge Martinez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 11, 2022

Hi @Family Lee I agree with @Craig Nodwell

Even you can use Automation for Jira to transition issues based on specific git interactions like

New Branch = ToDo -> In Progress
Pull Request Open = In Progress -> Validation 
Pull Requect Merged = Validation -> Done

So your team ideally shoudn't move jira issues across the board. Maybe is more about culture problem more than a technical need but with this you could restrinct your team permissions to not move issues across the board