Hi,
thought it is documented anywhere, but I can't find the right resource: If I create a new issue, or I edit a new issue I can customize the screens using screen schemata and define a screen e.g. for the create issue process. Thats fine.
But there is another place where issues are displayed and i don't know where to customize these screens: the overview of the issues of a project, which is http://<base_url>/projects/<projectName>/issues.
How is this screen configured. I introduced a new field "user story text" and the field is shown there. But it is shown under Details. I don't want to field displayed there, but it should be rendered in the same manner like the description or the attachment (as own group).
Could you investigate in supporting me?
Kind regards,
Sebastian.
Hi,
i am wondering there is no process on here, so let's ask you wheather you got my answer? I am not sure which field to use (suggest an answer of Reply).
You will need to write code to move a custom field out into its own panel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay, which kind of code? You meant, there is no way of configuration to configure these screen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, the view screen arranges things in a particular way.
You would need an add-on that provides a new web-fragment that is a panel that contains a copy of your field, and supresses it from the main display of custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, let's talk a moment about the "particular way". What it this way? What is the logic wheather the field is played on details or not? What is changed in the filelds that are not displayed under details, let's take the description or the attachment fields? Is there a way to configure some metadata that places the fields in another group?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you could do it with configuration, I would have said so.
The issue view is divided into several panels. When the screen is drawn, each panel selects the type of fields it has to display and pulls them out of the list. So
Any remaining custom fields not caught by a panel are then listed in the "custom fields" panel in the order given in your "view screen" definition.
That is all hard-coded into the view. But add-ons can define their own panels, and draw fields into them as well, either by type, copying or by explicitly stating which field you want in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay, I got it. Sorry for asking too much, my intention is only to understand what is going on. I think it should not be a big problem to write own code for me, so that's a solution.
Is my understanding correct that my custom field is displayed unter "details" because I assigned it to my screen? If I did not, it would be displayed as well - but as you said in the group "custom fields"?
Regarding to the plugin development: do you have any resources that explain how to setup a development environment for jira?
Kind regards,
Sebastian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the field appears under details because it's not caught by other panels. If you didn't have it on the screen though, it would not appear at all!
Start developing at https://developer.atlassian.com/server/jira/platform/getting-started/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, seems to be a good starting point. It is possible to leave the this question opened for a few days? I think I will have some more questions regarding to accessing the right screen, but I think it is better to discuss that after I got an overview about your api.
Kind regards,
sebastian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
here I am again. I worked through the tutorial with the "DueDateCalculator" which I think it's a good starting point to go ahead. From my perspective I am ready to go the next step, which is to add a panel for my custom field, but instead of adding the field on the right panel I would like to add the field on top of the description.
To archive this goal I need to know exactly the name of the panel (which is the replacement of 'atl.jira.view.issue.right.context
') and how I can access all custom fields.
It would be very helpful if you could give me the particular information.
Kind regards,
Sebastian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for double post, but I got an solution on my own, so no need to answer my last questions. I would like to go ahead, so I have another question regarding to the problem. Currently I am rendering a span, so this is a readonly field. I would like to display my custom field in the same manner as the description field which means that I want to use the wiki renderer. The field is configured with that renderer - but how can I use the renderer in my html template?
It would be nice to get an short example how to do that. Is there any kind of helper which helps me in generating the necessary html output?
Kind regards,
Sebastian.
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.