We have a mail handler setup that takes incoming emails and creates issues for a new subject and adds a comment for an existing issue.
It's been "working" for a long time, HOWEVER, when folks reply to the email notification from Jira, the comment that is added includes their new text as well as everything underneath it.
We've tried every option (except ScriptRunner) we can't seem to strip out the junk. Some of the ones that should work, like the two that start with "add a comment" don't add new issues.
Has anyone solved this? Will ScriptRunner do the trick? Does anyone have a script that would a) add a new issue for new subjects and b) add just the new text for existing issues?
We've been working with Jira and will reach out to Adaptavist but if someone has the answer please share!! THANK YOU!!
I'd use an add-on to provide a "create sub-task on transition" function. They're post-functions, blocks of code that run after a transition has been chosen. There's quite a few add-ons that provide those functions, ranging from simple ones that just create the basics, through to scripting add-ons which allow you to write whatever code you want in there (so you can do clever things like read what the user has entered and create one sub-task for each component they've selected, or create a batch of them with different pre-determined assignees, and so-on)
Hi Nic, Is there another way to complete this task without using add-on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's no built-in post-functions to do it, but some of the add-ons that provide one are free.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Could you please let me know that Add-on names. So that i will check it in Test Environment once everything is good then i will do it in production environment.
Thanks in Advance!
Regards,
Prasad Eda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
As requested please let me know some Add-on names so that first i will check it in Test Environment.
Regards,Prasad Eda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd usually do it with the Script Runner. There are others in the marketplace - a search for "create subtask" should find them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.