Forums

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

Support for "Draft" State in {{pullRequest.state}} Smart Value for GitHub Pull Requests

Tracy Powell June 17, 2025

Currently, the {{pullRequest.state}} smart value in Jira automation only returns "Open", "Merged", or "Declined" for pull requests. It does not distinguish when a GitHub pull request is in a "Draft" state.


It would be very helpful if the smart value could return "Draft" when a GitHub PR is in draft mode. This would allow teams to automate actions or notifications based on whether a pull request is ready for review or still being worked on as a draft.

Use Case:

  • Triggering different automation rules or notifications for draft vs. non-draft pull requests.
  • Improving workflow clarity for teams using GitHub and Jira together.

1 answer

0 votes
Abdallah Khaled
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2025

Hello @Tracy Powell, thanks for your question on the community. 

This is actually addressed in this feature request: https://jira.atlassian.com/browse/JRACLOUD-72888

I'd encourage you to add yourself as a watcher to be kept informed about the state of the suggestion moving forward. Once our development team updates the ticket, you'll be notified via email.

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