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

0 vote

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!

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.

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.

No, but thank you for your quick response.

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
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
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

689 views 6 13
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