Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Force comment visibility by user/group

Deleted user April 19, 2012

Currently, we have our Jira instance set up such that developers aren't allowed to comment on customer-facing tickets.

As a developer who's particularly well known for sarcasm, I'm OK with this rule. But eventually it poses problems when I get asked to investigate and issue before our support team creates an official engineering ticket for it. It gets hard to communicate when the support guys are commenting on the ticket but I try to engage in the same conversation via email.

While I'd like to just ask our Jira admin to give me commenting ability, I know I'm only going to shoot myself in the foot by saying what I really think about a customer and forgetting to set visibility to internal users only.

So, is there any way to grat a particular user/group the abiltiy to comment, but force it so their comments are visible to internal users only?

2 answers

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2012

As Renjith said, you can use some javascript to do it or maybe modify the template. The behaviours plugin can do this although I'm holding off recommending that for the moment, but the jaascript is sthg like:

docRoot.find("#commentLevel option[value='" + setValue + "']").attr("selected", "selected");

You need to check the option value for the Developers role or whatever.
Jason Smith March 19, 2015

Where exactly would this javascript be embedded?

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2012

Yes, this is very much possible. Each comment can be restricted to any project role and in this case, all your comments you can set the visiblity to developers. The customers will not see in that case (provided there is another project role called customers which contains the userids of the customers)

http://confluence.atlassian.com/display/JIRA/Commenting+on+an+Issue

Deleted user April 23, 2012

Perhaps I should have worded my question more clearly. I'm aware of the visibility drop down, but the default value for it is "all users". I'm worried about the situation where I say something snarky and forget to set it to "developers only". Hence, I'm looking for a way to set the default value on that for my account, or outright restrict my account so that "developers only" is the only allowed option.

Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2012

Ah! That may be tough, especially you want it to be done just for your account. Some java script tricks could be possible. May be others can comment on that part.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events