• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


05 Feb, 2025

Updated at 08 Feb, 2025

How can I enforce that a link type is only used ONCE on a particular ticket.

TicketA has 5 available link types.

TicketB has 5 available link types.

How do I lock down the project where Ticket A lives to restrict to only a single instance of the 'ZZZ' link type?  It can have any other link type multiple times.

Example:

  • When viewing ticketA, you can link to ticketB with linktype of 'ZZZ' ONLY if no other linktype of 'ZZZ' exists on ticketA.
  • When viewing ticketB, you can link back to ticketA with the linktype of 'ZZZ' ONLY if no other linktype of 'ZZZ' exists on ticketA

Basically, the restriction is on the project that holds ticketA so no matter where the link is coming from OR going to, ticketA will never have more than one link of linktype 'ZZZ'. 

Bonus kudos if someone knows how to do this and can lock it down based on projecttype.