Both assert that and Jira provide APIs, which can be used to automate this workflows:
https://assertthat.atlassian.net/wiki/spaces/ABTM/pages/725385217/Enable+configure+AssertThat+Plugin
I'm not yet sure if to do via Slack, or via Jira itself.
I think it will make more sense to do it via Slack, because it can be a 2 stage process, where you want to preview it first, and do some modifications before creating it in Jira.
Example thread:
- User: Bot create BDD scenarious for the following Jira ticket
- Lurch: Here is BDD definition:
- User: Bot Change it to include the following use case: "....."
- Bot: Sure, here is modified version: ....
- User: Bot Apply this BDD definition
- Bot: Updated Jira with BDD definition
Without Jira it already possible, it behaves quite well.