Prepend JIRA ID when message already exists, i.e. when message already created by Jetbrains AI Assistant, or typed in.
jimcornmell opened this issue · 5 comments
Thanks for submitting this issue.
I still don't have access to AI assistant, but looking at this blog post in order to generate the commit message by AI, you need to trigger it first by clicking this icon with two purple stars.
Would you be so kind to confirm that this workflow is correct? So you would do something like this:
- Click the purple stars and you get e.g.
message generated by AI
- Click the frog icon and your Jira issue gets prepended to the previous text e.g.
PROJ-123: message generated by AI
It's possible to achieve this. There are folks who would like to keep the previous behavior, so I'm thinking that upon clicking the frog icon, you get a modal asking you if you want to prepend or only keep the Jira issue. If you have a better suggestion, happy to hear it.
You are exactly right.
However I'd go for the fewest key presses, so maybe a setting to prepend, then in usage you just hit the AI button then the Frog!
Good suggestion. I've added a new checkbox in the settings to enable this. Could you test it out?
You can install this version by going to Plugins -> Click the cog icon -> Install plugin from disk
jira-commit-message-3.4.0.zip
Tested it worked fine. Great work turning this around so fast!
I've just released the latest version, should be available in 1-2 days since it goes through some verification by JetBrains.
I saw that you also left a review for the plugin. I'm not sure if you can update it since we now support the functionality, but either way thanks for reporting this. 👍