Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why Can't I delete an action "Add a comment..." in the postfunctions of a workflow

Jurgen Schober
Contributor
April 5, 2019

I am using a plugin (Bub Swift 'Create on Transition') to create new issues (and link them to the current ticket) with state transition. I have a custom screen for the transition to add a comment. I can pass the comment to the plug as a "%transition_comment%" and the plugin adds this comment to the new issue. 

 

However because the post function on the transition also adds this comment to the parent, I basically end up with duplicated comments in the parent and child issue. I am not certain if the plugin can actually get the comment from the transition itself (as the variable suggests) or the comment actually needs to be saved to the parent, but the other problem is, that I cannot remove the "Add a Comment..." event in the post function, nor do I have an option to "delete last comment" in another step in the post function. Is there a way to do either?

 

Thanksimage.png

 

1 answer

0 votes
Alex Christensen
Community Champion
April 5, 2019

The "Add a comment to an issue..." post-function you have highlighted is a Jira default and cannot be removed from the list of post-functions in any transition.

Does the comment really need to go onto the new issue you're creating in step 6 from your screenshot? I don't personally see the value in having the comment on the child issue if the child issue links back to the parent, and any user can open the parent easily to see that comment. Would you consider putting that transition comment into the new issue Description instead of another comment?

Jurgen Schober
Contributor
April 5, 2019

We use automation with a virtual workflow for the new ticket we create, basically the workflow in the new ticket is 100% automatic and does not require user interaction (but is there to track progress). The comment (or any custom field) is used to pass data to the custom workflow and is not required in the main ticket. For a custom field it is the same problem, though. It will store it in the main ticket and in the new ticket.

If one needs to look it up, you can simply open the child ticket. 

Connor_Richardson
Contributor
March 15, 2020

How can I delete/edit transition comments that are added to the customer portal?

Connor_Richardson
Contributor
March 15, 2020

This is pretty frustrating! I should be able to control what comments go to the customer. There has to be a workaround to fix this. Has anyone found a way to delete transition and automation comments that are automatically generated. Maybe scriptrunner?

Suggest an answer

Log in or Sign up to answer