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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,206 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot