Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Dynamic Structure

We have a dynamic structure that we fill via automation. The automation goes to a JQL query.
We can't get the JQL query to go to the logged-in user.
Example: project = pattern AND assignee = currentUser()
The query always goes to the creator of the structure (=currentUser) and not to the logged-in user.

Is such a query possible?

1 comment

Dave Liao Community Leader Jun 28, 2021

@Jochen Berdi - hi Jochen!

  • Can you confirm the version of Structure you're using? (e.g. 6.6, or 7.0)
  • Is the automation the only automation on the structure board?
    • Can you take a screenshot of the automation rule?
  • Are any quick transformations toggled on?
Like Dave Rosenlund _Tempo_ likes this

Hi, @Jochen Berdi.  What he (@Dave Liao) said. :)

Structure automation rules (generators) are executed in a particular order.  And transformations will execute after the generators. If you share some screenshots I am sure we can help you out. 

-dave [ALM Works]

Like Dave Liao likes this


Here is the screenshot. When starting the structure, we would like the insert query to refer to the logged-in user.

Like Dave Liao likes this

Hello Jochen,

When it comes to structures built automatically, generators that add issues always run from under the structure's owner, i.e. the currentUser() function can't work here as expected. If a generator's query is changed according to a user who is accessing a structure, it might cause some mix-ups. A structure itself might look differently for all users and some issues might be unavailable unintentionally. And if a structure is opened by several users at once, it would need to generate according to users' permissions and it might create additional strain on the performance.

For cases when a structure needs to be displayed differently for different users, the transformations can be used. They are easy to apply and they only change the structure for a specific user in their browser window. The Filter transformation with the currentuser() function can be used after the structure is opened. For that please do the following:

1. Click the 'Automation' button to disable the Generators' editing mode (turning on or off of this button doesn't change anything in a structure);
2. Click the 'Transformations' button and then Add transformation on the appeared panel;
3. Select Filter | JQL Query... and type: assignee=currentUser();
4. Save that transformation and it will be available for all users to turn on (to access saved transformation, please click the 'Quick transformations' button).

I hope this helps! Please feel free to contact us again directly at if you need our assistance with anything else.

Best regards,
Stepan Kholodov
ALM Works

Like # people like this

thanks for the workaround, but this is exactly what I linked and already use. I still don't understand the logic in Structure that even with a JQL call to a filter, currentUser is simply ignored. That is, sorry, not logical at all and in my eyes a capital error against the background of multiple use of the same structure by users of the same target group.

I'm a real fan of the plugin, but this doesn't fit with its orientation and, in my view, needs to be fixed as soon as possible.

Our Structure Version is 6.6.0

Hello Jochen,

Thank you for your feedback, we appreciate it. We understand your point of view here and the way generators work on behalf of the structure's owner can indeed be confusing. At this time, this is how this functionality is realized and the currentuser() function is not recognized as a result because the owner can't be a dynamic user. Changing it will require significantly reworking the existing architecture since the very core of the mechanism used for building structures automatically will be affected. Also, this will limit Structure's own capabilities for creating reports and there can be substantial performance-related changes in large & popular structures.

If the proposed workaround doesn't fit your use case, please contact us directly at and we'll be glad to take a look at your setup and suggest an alternative solution, if possible.

Best regards,
Stepan Kholodov
ALM Works


Log in or Sign up to comment
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

199 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you