Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can the Development Panel be configured to show additional information

Erik Macias
Contributor
November 14, 2018

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

 

4 answers

1 accepted

2 votes
Answer accepted
Nir Haimov
Community Champion
November 15, 2018

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

Erik Macias
Contributor
November 15, 2018

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. 

Nir Haimov
Community Champion
November 17, 2018

Hi

No, all you need is ScriptRunner for Jira. 

You do everything from there.

I did it in scripted fields

Erik Macias
Contributor
November 19, 2018

Thank you @Nir Haimov, I will accept this answer and see if it is something we decide to pursue.

0 votes
sunny s
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2019

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.

Rajesh Ramankutty
Contributor
March 26, 2024

hi do you got the answer for this @sunny s 

0 votes
VIPUL AGARWAL January 22, 2019

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?

Nir Haimov
Community Champion
January 22, 2019

Hi @VIPUL AGARWAL

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}
Like Steffen Opel _Utoolity_ likes this
VIPUL AGARWAL January 22, 2019

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?

Nir Haimov
Community Champion
January 22, 2019

What do you mean Jira2?

You can try JIRA Issue Key, maybe it will work too, i don't remember

VIPUL AGARWAL January 22, 2019

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?

Nir Haimov
Community Champion
January 22, 2019

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.

VIPUL AGARWAL January 23, 2019

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?

VIPUL AGARWAL January 23, 2019

Hi @Nir Haimov

Can the crucible API help in fetching these details?

Nir Haimov
Community Champion
January 23, 2019

Hi @VIPUL AGARWAL

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
Nir Haimov
Community Champion
January 23, 2019

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.

VIPUL AGARWAL January 24, 2019

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!

0 votes
BillyP
Community Champion
November 15, 2018

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!

Erik Macias
Contributor
November 15, 2018

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 :)

BillyP
Community Champion
November 15, 2018

Cool, no worries :)

Erik Macias
Contributor
November 19, 2018

For reference, here is a starting point for anyone interested in the scriptrunner approach. 

interactions with Bitbucket and Web panel creation

Suggest an answer

Log in or Sign up to answer