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

0 votes
Accepted answer

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
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

154 views 2 6
Read article

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