• 25
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      I have created a custom field of type "scripted field", which results in the total time spent on an issue. I want this field to be shown in the detail view of an issue on the work board in jira agile, but this does not work. I have found this on the internet:

      https://jamieechlin.atlassian.net/browse/GRV-298

      Can you please allow scripted fields to be added to the details view or explain to me how i can achive to show the total time spent on an issue in the details view?

      Thanks a lot.
      Christoph

            [JSWSERVER-10191] Please allow to add scripted fields to the issue details view

            Deleted Account (Inactive) added a comment - I found an article about the problem on Atlassian community. https://community.atlassian.com/t5/Jira-Software-questions/Can-ScriptRunner-s-quot-Parent-Issue-Script-Field-quot-be/qaq-p/1399453 Hope it useful.

            Yes - will this be possible ever? open since 2013...

            Jesper Halden added a comment - Yes - will this be possible ever? open since 2013...

            R. Dekker added a comment -

            To avoid a two lines backlog view by adding the scripted field in the card-layout what is now the only way to show a scripted field in the backlog, we would really like to have the functionality to add scripted fields to the detail-view.

            R. Dekker added a comment - To avoid a two lines backlog view by adding the scripted field in the card-layout what is now the only way to show a scripted field in the backlog, we would really like to have the functionality to add scripted fields to the detail-view.

            Joseph added a comment -

            We would also like this added to the issue detail view.

            Joseph added a comment - We would also like this added to the issue detail view.

            Quite annoying that this doesn't just work.

            Mark Visser added a comment - Quite annoying that this doesn't just work.

            David Yu added a comment -

            Seems incongruent to have this on the Card layout but not on the Issue Detail view. Our users would appreciate if this could be supported.

            David Yu added a comment - Seems incongruent to have this on the Card layout but not on the Issue Detail view. Our users would appreciate if this could be supported.

            In Portfolio also , we cant add a scripted field . Kindly look into this also .

            Shivi Gupta added a comment - In Portfolio also , we cant add a scripted field . Kindly look into this also .

            This one seems pretty painful - why would the issue detail view have such an exceptional, lesser status than any of the other "real" issue screens?

            Ryan J Stagg added a comment - This one seems pretty painful - why would the issue detail view have such an exceptional, lesser status than any of the other "real" issue screens?

            That is a separate issue - is it possible to automatically update script field value in the Card Layout?

            Mikhail Ponomarev added a comment - That is a separate issue - is it possible to automatically update script field value in the Card Layout?

            Hello

            We have an analyse/managing project with root tasks and several projects where tasks for developing are held. Due date is being set in the root project's tasks. To show the same due date in developer's projects, we are using a script field that searches for the Due Date among linked issues from the root project. We also order by this field in the developer's projects, so we really need it to be displayed in the Issue Detail View, since in the Card Layout it does not get updated automatically (need to reload the page).

            Mikhail Ponomarev added a comment - Hello We have an analyse/managing project with root tasks and several projects where tasks for developing are held. Due date is being set in the root project's tasks. To show the same due date in developer's projects, we are using a script field that searches for the Due Date among linked issues from the root project. We also order by this field in the developer's projects, so we really need it to be displayed in the Issue Detail View, since in the Card Layout it does not get updated automatically (need to reload the page).

            MattS added a comment -

            Chris, I checked the source code in 

            ./src/main/java/com/atlassian/greenhopper/service/rapid/view/detailview/DetailViewFieldConfigurationServiceImpl.java

            again and I see that some more types have been added since 2014, but no support for a general marker interface so that add-on vendors can add their fields to the list of approved fields. The way I got all this to work in the past was to write an add-on that defined a new custom field type that inherited from one of the approved field types. The getValue method for the next field type then just returned the value from the scripted field. A bit clunky but it worked.

            MattS added a comment - Chris, I checked the source code in  ./src/main/java/com/atlassian/greenhopper/service/rapid/view/detailview/DetailViewFieldConfigurationServiceImpl.java again and I see that some more types have been added since 2014, but no support for a general marker interface so that add-on vendors can add their fields to the list of approved fields. The way I got all this to work in the past was to write an add-on that defined a new custom field type that inherited from one of the approved field types. The getValue method for the next field type then just returned the value from the scripted field. A bit clunky but it worked.

            This would be greatly helpful.  Adding the scripted field to the card view is useless as it isn't clickable.  Not being able to add it to the Issue Detail View either means there is no way to click a link in a scripted field from a JIRA board.

            Ideally, we'd like to have clickable scriptable custom  fields in the Card View and in the Issue Detail view.

            Chris Sharpe added a comment - This would be greatly helpful.  Adding the scripted field to the card view is useless as it isn't clickable.  Not being able to add it to the Issue Detail View either means there is no way to click a link in a scripted field from a JIRA board. Ideally, we'd like to have clickable scriptable custom  fields in the Card View and in the Issue Detail view.

            Bastian Schenke added a comment - - edited

            Same problem with custom fields create with the Plugin "JIRA Misc Custom Fields"...

            The card-layout-workaround is not working here as well. You can add calculated fields to the card layout but if the result is an URL you can't click it because the click-event is consumed by the drag&drop of the card itself.

            Bastian Schenke added a comment - - edited Same problem with custom fields create with the Plugin "JIRA Misc Custom Fields"... The card-layout-workaround is not working here as well. You can add calculated fields to the card layout but if the result is an URL you can't click it because the click-event is consumed by the drag&drop of the card itself.

            Hi chudzinski.przemyslaw,

            I'm not sure you can have issueFunction on the CardLayout, as it is a JQL operand. What we did manage to put in Card Layout were "scripted custom fields".

            Aggelos Paraskevopoulos [Relational] added a comment - Hi chudzinski.przemyslaw , I'm not sure you can have issueFunction on the CardLayout, as it is a JQL operand. What we did manage to put in Card Layout were "scripted custom fields".

            Ho Aggelos, how do You set the issueFunction on the CardLayout then?

            eXtensi Admin added a comment - Ho Aggelos, how do You set the issueFunction on the CardLayout then?

            angel added a comment -

            Any development from either side (JIRA Agile Team, Jamie) on this?

            I've noticed that scripted fields can be rendered in the new Card Layout. Why not have the same rendering on Issue Detail View as well?

            angel added a comment - Any development from either side (JIRA Agile Team, Jamie) on this? I've noticed that scripted fields can be rendered in the new Card Layout. Why not have the same rendering on Issue Detail View as well?

            Ran Tian added a comment -

            Hi, Just want to know if this problem is solved?

            Ran Tian added a comment - Hi, Just want to know if this problem is solved?

            As discussed with Jamie on the linked issue, JIRA Agile could implement a marker interface in the jira-greenhopper-api module that the Script Runner plugin could consume.

            Michael Tokar added a comment - As discussed with Jamie on the linked issue, JIRA Agile could implement a marker interface in the jira-greenhopper-api module that the Script Runner plugin could consume.

            same for us

            Nader Akhres added a comment - same for us

            We'd also like to see this funcionality added.
            Thanks

            karol kleibl added a comment - We'd also like to see this funcionality added. Thanks

              Unassigned Unassigned
              b56af1a03c57 Christoph Hilmes
              Votes:
              201 Vote for this issue
              Watchers:
              106 Start watching this issue

                Created:
                Updated: