• Icon: Suggestion Suggestion
    • Resolution: Low Engagement
    • None
    • Automation
    • None
    • We collect Jira Service Desk 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.

      NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.

      At the moment there are is the Actions add-on which makes it possible to display transitions on a portal. The add-on has to be configured with a "Technical User" who is a JIRA user and will execute the transition, regardless of who is logged in to the portal.

      In my workflow I have transitions with various custom conditions, validators and post-functions (provided by add-ons, script runner scripts, developed ourselves, ...). However, it does not seem possible to figure out who is actually logged in in the portal and do something with that info.

      In the code snippet below, both the loggedInUser and caller will refer to the "Technical User".

      ApplicationUser loggedInUser = ComponentAccessor.getJiraAuthenticationContext().getUser()
      
      String caller = ((WorkflowContext) transientVars.get("context")).getCaller();
      

      For postfunctions, for example, a simple solution could be to add "portalUser" to "transientVars". Then it can be accessed via:

      String portalUser = transientVars.get("portalUser")
      

      I noticed that work on JSD-40 has started, but I'm not sure if that will also cover this suggestion.

            [JSDSERVER-3494] Make the 'customer' available in workflows

            Martin Howell made changes -
            Link New: This issue is related to JSDSERVER-12592 [ JSDSERVER-12592 ]
            Martin Howell made changes -
            Link New: This issue relates to JSDSERVER-12592 [ JSDSERVER-12592 ]
            Alex Cooksey made changes -
            Resolution Original: Won't Do [ 10000 ] New: Low Engagement [ 10300 ]
            Status Original: Closed [ 6 ] New: Closed [ 6 ]
            Charlie Marriott made changes -
            Resolution New: Won't Do [ 10000 ]
            Status Original: Gathering Interest [ 11772 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3011822 ] New: JAC Suggestion Workflow 3 [ 3646917 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2665256 ] New: JAC Suggestion Workflow [ 3011822 ]
            Owen made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2324599 ] New: Confluence Workflow - Public Facing v4 [ 2665256 ]
            Status Original: Open [ 1 ] New: Gathering Interest [ 11772 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 2053778 ] New: JSD Suggestion Workflow - TEMP [ 2324599 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2048994 ] New: JSD Suggestion Workflow [ 2053778 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 1279426 ] New: JSD Suggestion Workflow - TEMP [ 2048994 ]

              Unassigned Unassigned
              01ee0bbd8676 Glenn Verrijkt
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: