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

This widget could not be displayed.

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

This widget could not be displayed.

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;

}

This widget could not be displayed.

Thank you Bharadwaj!

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

Is there any other way to achieve my goal?

This widget could not be displayed.

I asked

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

28 views 3 4
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