webPanel not showing inside custom issueType

I created two webPanels with the same url:

"webPanels": [
      {
        "key": "example-issue-left-panel",
        "location": "atl.jira.view.issue.left.context",
        "name": {
          "value": "Big Map"
        },
        "url": "/map.html",
        "conditions": [
          {
            "condition": "jira_expression",
            "params": {
              "expression": "app.properties['customIds']['customIssueType'].includes(issue.issueType.id)"
            }
          }
        ]
      },
      {
        "key": "example-issue-right-panel",
        "location": "atl.jira.view.issue.right.context",
        "name": {
          "value": "Small Map"
        },
        "url": "/map.html",
        "conditions": [
          {
            "condition": "jira_expression",
            "params": {
              "expression": "app.properties['customIds']['customIssueType'].includes(issue.issueType.id)"
            }
          }
        ]
      }
    ],

both of them have the same condition to be shown only on my custom issueType

the problem is that it is only showing on "location": "atl.jira.view.issue.right.context"

If I remove the conditions I can see the map at standard issueTypes. but it doesn’t appear on the custom ones.

I assume that the condition/expression is ok because the webPanel is shown at "location": "atl.jira.view.issue.right.context" but I don’t understand why is not displayed at "location": "atl.jira.view.issue.left.context"

any hint?

Welcome to the Atlassian Developer Community, @bon!

It is possible that the web panel is currently hidden. Have you tried checking the ellipsis/meatballs menu to show the web panel?

Cheers,
Ian

ok so … i feel kind of dumb but thanks, that was it

1 Like