Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom annotationPrefix config no longer works and always defaults to 'jira.com' #227

Open
sadhika137 opened this issue Dec 5, 2024 · 3 comments · May be fixed by #236
Open

custom annotationPrefix config no longer works and always defaults to 'jira.com' #227

sadhika137 opened this issue Dec 5, 2024 · 3 comments · May be fixed by #236
Labels
bug Something isn't working

Comments

@sadhika137
Copy link

sadhika137 commented Dec 5, 2024

To reproduce

config is:

  token: ${JIRA_TOKEN}
  baseUrl: https://local-jira.com/jira/rest/api/latest/
  annotationPrefix: jira

annotation should work with this:

       jira/project-key: JIRAPROJECT

but shows missing annotation msg:
image

all other configs are correct and annotation works with 'jira.com' even if annotationPrefix is set to 'jira':

       jira.com/project-key: JIRAPROJECT

Thanks you in advance for help,

@sadhika137 sadhika137 added the bug Something isn't working label Dec 5, 2024
@anicke
Copy link
Contributor

anicke commented Dec 6, 2024

What does your "EntityPage" look like? Have you set the "annotationPrefix" props to the "JiraDashboardContent" component?

@sadhika137
Copy link
Author

sadhika137 commented Dec 18, 2024

    {/* Jira Dashboard Plugin */}
    <EntityLayout.Route
      if={entity => isJiraDashboardAvailable(entity, 'jira')}
      path="/jira-dashboard"
      title="Jira Dashboard"
    >
      <EntityJiraDashboardContent />
    </EntityLayout.Route> 
this is my EntityPage looks like, how do I pass in the annotationPrefix?

@fridajac
Copy link
Contributor

I'll have a look!

@fridajac fridajac linked a pull request Dec 20, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants