add a comment if you change a custom field in an issue

thorsten.jahnke July 2, 2020

Hi guys


How is it possible that the user has to add a comment when she change the due date or another custom field?
I imagine an approach like at the Post Functions/ Workflows "Add a comment to an issue if one is entered during a transition"

Can someone help. Would be great.

Thanks a lot in advance

Thorsten

1 answer

0 votes
Daniel Ebers
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.
July 30, 2020

Hi Thorsten,

there is one approach that is regularly popping up when it comes to that question. From my point of view it is a bit complex but it would do the job - yes.

The idea is to remove the desired field from edit screen (for example due date). In the next step you can add it to a transition screen. You'd need a transition which you add to your workflow looping back to the current status that could be called "change due date" (or similar).

On the transition screen you can put the field (here: due date) instead - along with "comment". The final trick is to make both the field and the comment required as transition validators.

The drawback is that you "flood" your workflow with exceptions like this in case you want several fields to cater by this mechanic. Then it might be better to name the transition in a more generic way and put all fields to the transition screen - but this really depends on your requirement.

So the said above is only the basic description of a possible implementation. You need to evaluate further and fine-tune.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events