SQL plugin possibilities

Hello!

Can You please tell me, if a company has the SQL plugin can this plugin display different results from an SQL query for each emploee individually. For example, specific emploee can see how much unresolved tasks he has in a Horizon system?

Regards,

Ella

4 answers

1 accepted

This widget could not be displayed.
Davin Studer Community Champion Sep 02, 2013

Not using just the SQL plugin. You can supply static parameters to a query, but not dynamic ones that change based on who is accessing the page.

However, if you combine it with the Run plugin you can get this dynamic functionality.

https://marketplace.atlassian.com/plugins/org.swift.confluence.run

And specifically for this case, the $current_user_id pre-defined variable is available - see Pre-defined variables .

This widget could not be displayed.

This should be possible depending on how you design the query and the way the results are being presented. You may want to check out SQL Plugin and work with your DB Admin who is familiar with those queries and construct them accordingly.

This widget could not be displayed.

I have used this plugin extensively and find it very useful. But you have to be an expert in sql.

This widget could not be displayed.

Hi Ella,

You can do this using the Play SQL Base add-on, and it is free:

- Write a query

- Use the built-in parameter $userName in your query

See PLAYSQL-10 for details on how it works. Contact me (or write on Answers) if there's any difficulty.

Cheers,

Adrien

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

481 views 6 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you