Forge DisplayConditions with same markers

Hi,

I want to use display conditions to allow an app to be shown only in certain issue types and projects:

  displayConditions:
    or:
      projectKey: BB
      and:
        projectKey: MAT
        or:
          issueType: Reagent
          issueType: Vial

But it seems it has a hard time catching the double issuetype in there.

It gives the following error:
manifest.yml failed to parse content - duplicated mapping key valid-yaml-required

If I change to

  displayConditions:
    or:
      projectKey: BB
      and:
        projectKey: MAT
        or:
          issueType: Reagent
          isAdmin: yes

Then this works.

Why would it not allow 2 issueTypes in there?

Thanks.

Hey Tim,

If you enter the issueType as an array of strings, rather than separately does that work?

Cheers!
Melissa

1 Like