Forums

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

How to create a post function that comments an issue with the transition that took place?

Elizabeth Snitily
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 14, 2020

We have a workflow where one status can transition to the other for multiple reasons, each with it's own associated transition/transition ID.

Is there a way to write a post function that will comment the name of the transition that took place, to prevent the user from having to access the history?

2 answers

2 votes
Haddon Fisher
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2020

I can't think of a way to do this using out-of-box functionality, but it would be a very simple Automation rule. 

0 votes
Marek Soukup
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2020

You can use custom field instead of comment because there is a "update custom field" post-function. Or you can use commercial plug-in e.g. Jira Workflow Toolbox (https://apps.decadis.net/display/JWT/Post+Functions) which has "add comment" post-function.

Suggest an answer

Log in or Sign up to answer