Any way to automatically add a comment on a workflow transition. I used to use the CJH plugin for this but it seems to have disappeared from the plugin repository. Anything else that will fulfill this functionality?
We use comment on transition to timing between the first response and the resolution time. First response is calc'd as the time from the first comment so I need a comment to be automatically inserted as the user clicks the workflow transition "start work" for the task.
Thanks in advance.
It can be done with a simple groovy script placed as a post-function on the Start Progress transition, ie: http://pastebin.com/9S8BisbH
That example uses the user doing the transition to add the comment, you could use another user if you prefer.
Alternately there are probably ten other plugins that could do it too.
(Also see script runner)
Here is my code for adding auto comment. Its working fine and adds comment as the current user. I want to add comment as a particular user. EG: jira.donotreply. I couldn't find a way to do it yet.
Can you please help me to do that? Thank you!
ComponentManager componentManager = ComponentManager.getInstance()
CommentManager commentManager = componentManager.getCommentManager()
commentManager.create(issue, transientVars.context.caller, "The Auto comment", false)
Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events