Hello,
Is it possible for the information on the Development panel to be configured/altered to show additional information? Specifically, we would like to show the source and destination branches for the pull requests dialog section. This would add a lot of at a glance clarity and context to each row if the source/destination branches were visible. Currently only the ID, Title, Status, Author, Reviewers, and Updated date are shown (below image).
I can't seem to find a way via the admin UI, and as this request is recent, we have not discussed any budgets, however avoiding a paid plugin would probably be best at the moment. But I am not opposed to any helpful links to such plugins (so far Git Integration for Jira looks like the closest to what we may want).
For reference, we are running Jira v7.6 linked to Bitbucket v4.14, both in server configuration.
Thank you,
Erik
Hello Erik,
The is no built in option to see more details in the development panel.
I'm not familiar with add-ons that will give you that (but you say you found one).
What i did once for my customer, i used ScriptRunner.
With ScriptRunner you can almost to anything you want in Jira, so i also used it for the case you mentioned, and with some scripting i brought all the data i want with some API calls.
If you are willing to code it, than ScriptRunner is a good choice (also for other stuff you may need in the future to customise in your Jira instance)
Cheers,
Nir
Hi Nir,
Thanks for the suggestion, I haven't even considered Scriptrunner, but that may be a valid option, as we do already use Scriptrunner.
I will bring this up, and look at the API's in the mean time. We only have ScriptRunner for JIRA, is that all you used/needed? I know there are Scriptrunner plugins for Confluence and Bitbucket as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
No, all you need is ScriptRunner for Jira.
You do everything from there.
I did it in scripted fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is actually a question:
In the Development Panel, for the 'author' column, we see the image/icon/avatar. Is it possible to display user name or name (of the author)?
Its available because we can see it once we hover over the image/icon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Nir Haimov.
I need to fetch the details from the Development Panel from the JIRA.
The REST API doesn't provide the details in the Development Panel.
Is there any other way to fetch the details from the Development Panel?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira uses the following REST call to get the data you see in the development panel:
/rest/dev-status/1.0/issue/summary?issueId={issueId}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your immediate reply @Nir Haimov.
The contents of this development panel appears once I log in, else I can't view that, but I will have other information for that issue which I can view.
Will this work with jira2?
Instead of issue id, can I get with JIRA Issue Key?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean Jira2?
You can try JIRA Issue Key, maybe it will work too, i don't remember
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nir Haimov.
I am using this link:
https://jira2.####.com/rest/api/2/issue/abcd-1234
I am getting all the desired details from that JIRA, apart from Development Panel details.
Now for the development panel, I used
https://jira2.####.com/rest/dev-status/1.0/issue/summary?issueId=abcd-1234
Output:
{
"errorMessages": [
"An invalid ID was provided: 'abcd-1234'"
],
"errors": {}
}
So can you please help me where I am going wrong?
Or is there any other way that the development panel details can be fetched?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try issue id instead issue key.
i'm not familiar with the jira2, first time i see it.
Any way, it's just a url, it's not suppose to be related, Jira instance should work the same no matter the url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nir Haimov.
For our JIRA, we have either the Issue key like: ABCD-1234
or the External Key like: 1-234567890
https://jira2.####.com/rest/dev-status/1.0/issue/detail?issueId=ABCD-1234
For the above link, I tried with the issuekey/externalkey.
I am not getting any result.
In the first case, you wrote something about ScriptRunner.
Can this help me to get the details from the development panel?
Any help you can provide me with this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scriptrunner is just another place to run it from, the code will be the same.
But note you should use:
/rest/dev-status/1.0/issue/summary?issueId={issueId}
And not:
/rest/dev-status/1.0/issue/detail?issueId={issueId}
As you just wrote in your last comment.
If you want to use "detail" instead if "summary", it should be like this:
/rest/dev-status/1.0/issue/detail?issueId={issueId}&applicationType=stash&dataType=pullrequest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can click F12 in your browser and look at the "Network" tab for all the XHR calls Jira doing.
You will find there the call Jira use to fetch the "development information" data.
So you just need to do the same call Jira does.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nir Haimov
This was helpful.
I got some of the desired details, although not all.
Thanks a lot for your answers.
You are great!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Support the Script Runner solution. I've heard great things always coming from similar starting points.
If you do find a solution, or get the code working, please share. Always excited to see new solutions!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @BillyP,
I will bring up ScriptRunner as an option, but depending on priority and the necessity of this request, it may or may not be something we actually work on. So may intentions are not to keep you waiting for a solution if we decided to not pursue this avenue :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For reference, here is a starting point for anyone interested in the scriptrunner approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.