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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.