Forums

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

How to trigger an opening of a comment window when transitioning a ticket from state A to state B

Samantha Sharkov January 26, 2024

I need to put a setting/automation in place whereas:

When I transition a ticket from any State

to On Hold or Blocked

Then a comment dialogue pop-up should open

So that the user is reminded/forced to add a comment on Why they are moving the ticket to On Hold/Blocked.

Thank you!

4 answers

1 accepted

5 votes
Answer accepted
Walter Buggenhout
Community Champion
January 26, 2024

Hi @Samantha Sharkov ,

This is possible if you're using company managed projects and the workflows that come with them. If so, you

  • first of all need to have a comment screen in place
  • that your then associate with the given workflow transition
  • and add a fields required validator to the transition to force users to fill out the field

To create the screen, navigate to Jira Settings > Issues > Screens and create a new screen with no fields on it (this is because the comment field is always displayed, so you don't need to add it). Save the screen and name it e.g. comment screen.

Then edit your workflow. Locate the transition(s) to on hold / blocked. There should be a dropdown where you can add the comment screen to your transition.

On the validators tab of the transition options, add the fields required validator and select the comment field to be required.

Publish your update workflow and you should have a working solution.

Hope this helps!

Samantha Sharkov February 22, 2024

Thank you VERY much! Worked like a charm.

2 votes
Nic Brough -Adaptavist-
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.
January 26, 2024

Hi Samantha,

This is not something you do with Automation.  You need to edit the workflow and add a "transition screen" to the transitions into your hold/blocked status, then probably add a validator that demands that they make a comment or maybe set a field.

1 vote
Bryce Lord
Community Champion
January 26, 2024

Hi @Samantha Sharkov !

To add a comment window when transitioning from one state to another, you'll need to add a transition screen within the workflow of that issue.

Just for clarification, is this within a team-managed or company-managed project?

0 votes
BHUSHAN PATIL
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.
January 26, 2024

Hi @Samantha Sharkov ,

Follow the steps mention in below article, this article will help you to add a screen to a workflow transition.

Also, if you feel my input help you please accept the answer.

Regards,
Bhushan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events