Forums

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

Is it possible to change a ticket to Done after a deployment?

Giulio Troccoli-Allard August 5, 2025

We use the following workflows:

  • when a developer starts working on a ticket, the ticket's status is changed to `In Progress`
  • the developer will create a PR with the ticket number in the title, so that it will be linked to the ticket
  • when a PR is merged the following happens
    • a pipeline (we use Bitbucket) will deploy the app in the UAT environment. We use the `deployment` key in the pipeline so we can see exactly which PRs and tickets have been deployed
    • the ticket associated with the PR changes status to `Resolved`
  • when we want to deploy to Production we run the pipeline (this is a manual step). This pipeline also uses the `deployment` key, so we know which tickets have been deployed to production

As you can see once a ticket has been deployed to Production it does not change status, and this is what I would like to achieve: change the status of all tickets that have been deployed to Production from `Resolved` to `Done`.

Is it possible?

1 answer

0 votes
Howard Nedd
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 Leaders.
August 5, 2025

Hi @Giulio Troccoli-Allard ,

Yes, it is possible to automate the status (automation for jira) change of tickets from Resolved to Done after they have been deployed to Production.

You need to identify when a deployment to Production occurs. This can be done by setting up a webhook or a listener in your CI/CD pipeline that triggers an action after the production deployment is completed.

Then during the deployment process, you should have access to the list of PRs that were merged and their associated ticket numbers.

Ensure that this information is captured in a way that can be accessed after the deployment.

 

Does this help?

Regards

Howard

 

 

 

 

Giulio Troccoli-Allard August 5, 2025

Hi @Howard Nedd 

It sounds like you're suggesting to do the work in the pipeline, using the REST API to change a ticket status perhaps?

I was looking more for something in Jira. I thought I would be able to use an automation, and I have tried (and still trying) but with no success. I can't figure out which trigger to use.

Like Rajesh Shirsagar likes this
Howard Nedd
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 Leaders.
August 5, 2025

@Giulio Troccoli-Allard ,

 

Do you have an example of your automation? Like a screenshot?

I might be able to suggest something. 

 

Regards

Howard

Giulio Troccoli-Allard August 5, 2025

I fell a bit stupid now, because I think I've got it (although I haven't tested it yet).Screenshot 2025-08-05 at 10.40.34.png

I don't know why I couldn't find that trigger before

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events