I want to make sure that users will execute transition after they commented on Issue

Hi,

please help me with following:

Type of project: recruitment

Use case: We have couple of steps in our recruitment process. On each step each interviewer leaves his comment and should transition Issue to the next step (status). Very often users forgot to do the second step. What are possible solutions for that?

I tried with adding property jira.permission.comment.user=denied for a status that required commenting and at the same time provided the transition screen with Comment, but unfortunately this permission doesn't allow to add comments via transition screen too.

4 answers

1 accepted

I got the answer from Atlassian support:

Hi Bartek,
I don't believe comments can be incorporated the way you are looking to have them incorporated. My suggestion here would be to create a custom screen for each transition (interviewer) as well as a custom comment field for each of those transitions. You'll then want to add those fields to the transition screen for their corresponding transitions and make them required.

With this workflow your interviewer will transition the issue, be forced to fill in this required comment field, then the issue will transition.

Hope this helps

Thanks

you need to write a workflow validator that enforces the user to enter the comments before pressing the transition button.

you need to write something like this

InvalidInputException e=new InvalidInputException();

boolean comm=ActionContext.getParameters().containKey("comments");

if(comm=true && ActionContext.getParameters().get("comments") ==null)

{

e.addError("comments","Enter comments");

throw e;

}

Thank you Bharadwaj!

Unfortunately I'm OnDemand user and AFAIK cannot write my own Validators.

Is there any other way to achieve my goal?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

449 views 83 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you