The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Enable comment for more than 2 groups

Muhammad Moazzam Hassan
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 Champions.
November 8, 2022

Hey, 

 

I want to enable comment for only 2 groups on certain status by using properties and value. But it is just blocking only one at a time, Can someone help me to enable both groups.

What I am doing.

Jira.permission.comment.group  value ( Group Names) 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Hamza Chundrigar
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 Champions.
November 8, 2022

Hi @Muhammad Moazzam Hassan 

The workflow property jira.permission.comment. is correct.

You’re also correct to use the key = group

As for the value = group-name

Are you adding both group name values together separated by commas? Or are you doing this instead?

Adding the first permission restriction via workflow properties:

  • jira.permission.comment.group  = group1

And then adding:

  • jira.permission.comment.group = group2

 Are you able to provide screenshots?


Regards,

Hamza

Muhammad Moazzam Hassan
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 Champions.
November 8, 2022

@Hamza Chundrigar Look what I am doing, if I am adding both groups together then it is not working just only works when I add only one group, and if I try to add the same property again it shows me the error already exists. is there any solution or is there any issue with syntax? I tried both with space or without space after commas. 
f192a569-1e3d-4e40-98ee-4130adb6de31.png

Muhammad Moazzam Hassan
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 Champions.
November 10, 2022

@Hamza Chundrigar i found the answer, it can be done by using prefix.

E.g: Jira.permission.comment.group.1 = group-name

Jira.permission.comment.group.2 = group-name

Like Hamza Chundrigar likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events