Forums

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

Adding custom triggers to Bitbucket pipelines

Anushka Godse
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!
October 27, 2020

Hello,

We currently use the workflow triggers to transition the status of a story/task/test case associated with the PR. Is there a way I can add a custom trigger to alter the value of a custom field on PR merges? we have a test automation status custom field that has values (to be automated, automation in progress, automation complete). Once the PR has merged, we want the field to transition from automation in progress to automation complete. Is this achievable?

 

Thanks

Anushka. 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 28, 2020

Hello @Anushka Godse

Welcome to the Atlassian Community!

Per your description, I understand that you would like to automatically edit the custom field to a specific value when its related Pull Request is merged. Have I understood it properly?

I see that your question is flagged as Jira Cloud. Can you confirm if you are using a Classic or Next-gen Project?

I believe you can achieve this goal by using Jira Automation. These would be the exact steps:

  1. For Classic projects, navigate to project > Project Settings > Automation
    For Next-gen projects, navigate to project > Project Settings > Apps > Project Automation
  2. Create the following automation rule, selecting the trigger to be "Pull Request merged" and the action to be "Edit issue Field":

    Screen Shot 2020-10-28 at 15.39.08.png

Let us know if you have any questions.

Suggest an answer

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

Atlassian Community Events