How do I prevent comments on a workflow step

What values do I put into Property Key and Property Value?

2 answers

2 votes

If you are using scriptrunner-> behaviours -> hidden fields:

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html#_hidden_fields

 

Im not using scriptrunner

0 vote

From memory, jira.permission.comment for the key and denied for the value.

 

I get this error when I do that

 '"-->>]]></script></noscript></style> ERROR OCCURRED

java.lang.RuntimeException: Error parsing meta attribute <meta name='jira.permission.comment'>denied</meta>. Name format is 'jira.permission.[subtasks].<permission>.[group|user|assignee|...]'

I've tried a lot of combinations but that error message suggests that this should work

key: jira.permission.comment.user
value: denied

but that does not work

Sorry, I really should not trust my memory.

jira.permission.comment.denied for the key, and leave the value empty.

That worked. Throws a server error when trying to save comment. I expected them to hide the UI.

Yes, it's annoying (especially as turning off the edit just disables access to the UI, like it should do!)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

190 views 1 18
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