Forums

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

Jira automation: trigger on pull request title change

Slava Shpitalny
Contributor
March 9, 2021

We want to create an automation to put Jira issues as ready for review whenever a PR title does not contain "WIP".

Background: when we open pull requests, tests might fail. It is part of the PR author to fix them. Fixing them may cause extra work which may take time. Before the tests are fixed, there is no point to review the issue.

We have a column for issues which are ready to be reviewed. We want to create an automatic rule to move issues to that column, but this can be done when an issue is actually ready.

To implement this automation, we need a trigger on PR title change. Is there a way to accomplish this?

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
March 10, 2021

Hi @Slava Shpitalny 

I do not believe you can trigger an automation rule on PR title change.  These are the PR-related triggers currently available: 

  • Pull request created
  • Pull request declined
  • Pull request merged

Best regards,

Bill

Slava Shpitalny
Contributor
March 12, 2021

Thank you, I've seen these triggers.

Do you know of any plan of adding this? Also maybe a more general trigger like 'PR changed' trigger, with a way to add conditions to what changed and get the content of the change.

Some examples that might be useful:

* Comment added (looking for specific comments)

* PR approved

* Required checks passed

Bill Sheboy
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.
March 12, 2021

Hi!  Here are the suggestions and defects around PR triggers for automation in the public backlog.  You may watch/vote for them to see progress.

https://jira.atlassian.com/issues/?jql=project%20IN%20(JRACLOUD%2C%20JSWCLOUD%2C%20%22Automation%20for%20Jira%22)%20AND%20resolution%20%3D%20Unresolved%20AND%20summary%20~%20%22pull%20request%22%20%20AND%20summary%20~%20%22trigger%22%20ORDER%20BY%20Key

And, you may select Create at the top of this view to add new suggestions if you do not see ones covering your ideas.

Thanks,

Bill

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