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

feat(jira): Add badges to issue glance #29899

Merged
merged 3 commits into from
Nov 10, 2021
Merged

feat(jira): Add badges to issue glance #29899

merged 3 commits into from
Nov 10, 2021

Conversation

ceorourke
Copy link
Member

@ceorourke ceorourke commented Nov 10, 2021

Add an indication of whether or not there is a linked issue on the Jira issue glance view. I chose to hard code it as 1 since we do not currently show details of more than 1 issue even if more than 1 are linked, and figured it'd be a weird experience to see "2" and then click and only see details for 1 issue. When we get around to showing details for more than 1, this can be updated to use the actual count. If there are no linked issues, the badge simply doesn't show rather than showing 0.

Note: I have both a local Jira installation and prod Jira installation, so the top one where it says "linked kitties" is the local one that reflects this change, it's just easier to differentiate.

Screen Shot 2021-11-09 at 3 58 52 PM

References:
https://developer.atlassian.com/cloud/jira/platform/modules/issue-glance/
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-propertykey-put

@ceorourke ceorourke requested a review from a team November 10, 2021 00:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants