Forums

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

How do I prevent users from creating linked issues TO a specific project?

Logan Hawkes
Contributor
June 30, 2023

I'm trying to implement a restriction so that Jira users are barred from creating linked issues to a specific project. I've got service desk installed, so I have the "Create Linked Issue" item in the "More" menu. What I'd like to do is have the resulting screen list all but one project in the "Projects" menu. For example: 

Assume there are four projects on the system, two service projects and two software projects. 

  • Service:
    • ASERVICE
    • BSERVICE
  • Software:
    • FRONT
    • BACK

I want to stop people from creating a link from any issue TO the ASERVICE project but allow them to create linked issues between other projects. 

  • ASERVICE -> FRONT: OK
  • ASERVICE -> BACK: OK
  • FRONT -> BACK: OK
  • FRONT -> ASERVICE: NO
  • BACK -> ASERVICE: NO

It seems like the best way to do this would be to restrict the entries in the "Projects" select list on the Create screen so that ASERVICE doesn't appear, but I don't see any way to do that that doesn't prevent users from creating issues in the ASERVICE at all.

Any ideas? I've been poking around with Scriptrunner and Jira Automation but I'm baffled.

Environment:

  • Jira Datacenter 9.4.3
  • JSM: 5.4.3
  • Scriptrunner v8.3.0

1 answer

Trudy Claspill
Community Champion
June 30, 2023

I missed the part about wanting to allow the users to otherwise create issue in the destination project, just blocking the creation through the Create Linked Issue option.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.3
TAGS
AUG Leaders

Atlassian Community Events