chrome-github-jira icon indicating copy to clipboard operation
chrome-github-jira copied to clipboard

WIP Show ticket status in pr list

Open jrschumacher opened this issue 5 years ago • 4 comments

@RobQuistNL let me know your thoughts on this. I'm trying to determine what the best look would be.

image

Depends on #36 and #35

jrschumacher avatar May 04 '20 00:05 jrschumacher

Changed to look like this to show the issue number and when it transitioned to the current status.

Edit: removed on

image

jrschumacher avatar May 04 '20 00:05 jrschumacher

That looks like a very neat addition, and seems to be fitting to the UI of GitHub.

I haven't tested it yet but am kind of scared for performance - I know loading a ticket can sometimes take seconds in Jira - I'm not sure if this is also the case for API calls, and I'm not sure if there's better endpoints to use - maybe query-like endpoints where we can fetch multiple tickets at once or something?

Either way, thanks a ton for your contributions so far! I'll be sure to check them out ASAP.

RobQuistNL avatar May 05 '20 09:05 RobQuistNL

I'm glad you brought that up. With regard to performance, there are a couple of things to do. The biggest impact with Jira's REST API is that the default query gets all fields available for that issue type schema. I've updated to return only the fields needed.

image

As you can see the size and time decreased. The next step is to switch to search so that we can bulk fetch and reduce the latency more... however async fetching might be better for a lot of issues.

jrschumacher avatar May 06 '20 01:05 jrschumacher

Awesome stuff! I think I have some time this weekend. Will keep you posted.

RobQuistNL avatar May 08 '20 19:05 RobQuistNL