overriding permissions in transitions

using the workflow transitions it is possible to disable commenting on an issue in certain statuses.
ie by putting jira.permission.comment.user = denied ...

Check the j-tricks blog on this subject

The disadvantage is that if the user wants to progress the issue to another status he/she will not be able to provide a comment (because the permission has been disabled)

Putting a transition specific permission (in the transition properties) doesn't do anything.

Any idea's how to fix this

5 answers

This widget could not be displayed.

You can't override what is on status with transition level properties. Can't think of a way to handle this!

Maybe try adding a custom field in the transition screen and copy its contents as comments in th post function or something!

This widget could not be displayed.

Hi Francis, did you find a solution to this issue? I'm having a similar problem, just concerning the 'assignee' field in my case. I'd like to prevent manual editing of the field in one workflow state but allow changing the assignee during a workflow transition.

This widget could not be displayed.

Hello Florian,


We ended up allowing commenting, and autotransitioning the issue if a comment is provided. I guess this is no help for your case.

This widget could not be displayed.

No, but thank you for your quick response.

This widget could not be displayed.

you can try with Javascript,

add the following script in any field description on field configuraion of that issue type which is present on that transition by changing transition name on which you want hide the comment box

<script type="text/javascript">
jQuery(document).ready( function($) {
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context) {
    callCommentHideFunction();
}); 
callCommentHideFunction();
function callCommentHideFunction(){
    if($('#issue-workflow-transition-submit').val() =='working'){
        $(".wiki-edit").hide();     $("label[for='comment']").hide();
    }
}
});
 
</script>

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 New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

81 views 1 0
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