Forums

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

Show Hide JIRA tickets based on a custom field value and Logged in user

Devendar Gangapuram
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.
November 22, 2022

Hi Team,

I have to hide tickets list depends on the custom filed(Name: EnvirornmentList) value and logged on user. We have 3 user groups and associted users list. So Depends on this User group, we need to hide/show se tof tickets on JIRA (Data center/ server). 

 

Please assist me on this requirement asap. 

 

 

Thank you,

Dev G

 

 

 

1 answer

1 vote
Rilwan Ahmed
Community Champion
November 22, 2022

Hi @Devendar Gangapuram ,

In native jira server, you cannot do this action automatically. 

Workaround:
Create Issue security schemes and update the ticket to required issue security based on the field value. Only users who are part of security schemes can see the tickets if though they have access to the other tickets in the project. 

Devendar Gangapuram
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.
November 24, 2022

Thank you @Rilwan Ahmed  for the quick reply. I was trying to Create Issue security schemes and update the ticket to required issue security based on the field value. I am able to select Field name but no option to put field value for comparison. EnvirornmentList is drop down, so based on the value , we have categorised User groups, so I need to comare the value to create the Issue security scheme. 

 

 

Custom Field for JIRA Issue level security.PNG

 

Please let me know the more details to proceed, or correct me please if I am doing anything mess. 

 

 

Thank you,

Dev G

Rilwan Ahmed
Community Champion
November 24, 2022

Hi @Devendar Gangapuram ,

You cannot compare field values in security scheme. Once the security scheme is mapped to project, manually you need to update required security levels to the tickets based on the environment field value .

If you have Jira automation plugin, then you can try the automation rule to update the security level in the ticket based on the field value. 

Devendar Gangapuram
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.
November 24, 2022

Thank you @Rilwan Ahmed .

Is the one , you are saying.      https://marketplace.atlassian.com/apps/1215460/automation-for-jira?tab=overview&hosting=datacenter .

If you please confirm, I will proceed using it. 

 

 

Thanks a ton,

Rilwan Ahmed
Community Champion
November 24, 2022

Hi @Devendar Gangapuram ,
https://marketplace.atlassian.com/apps/1211836/automation-for-jira-server-lite?tab=overview&hosting=server is for Server and https://marketplace.atlassian.com/apps/1215460/automation-for-jira?tab=overview&hosting=datacenter  is for Data center versions

Please note: Security level will be displayed under edit fields action in automation.

Attaching an example for you

image.png

Like Devendar Gangapuram likes this

Suggest an answer

Log in or Sign up to answer