Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,558,128
Community Members
 
Community Events
184
Community Groups

Scriptrunner Custom Picker for Confluence Space list

Pete Singleton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 29, 2023

Hi all, appreciate any help or guidance with this...

I am trying to show a list of Confluence spaces as a Jira custom field (single select).

I believe this should be possible using the Scriptrunner "Custom Picker" and the Confluence REST API, but I'm really not sure how to do this.  I have had a long search online and surprised to see no similar solutions.

Does anyone know how this could be achieved, or if there is a better way to show Confluence spaces as a list in Jira?  For info my Groovy scripting ability is good but REST API knowledge not so much!

Thanks,

Pete

Jira DC 8.20.10

Confluence DC 7.19.4

ScriptRunner for Jira 7.13.0

 

1 answer

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 30, 2023

Hi @Pete Singleton I would suggest that you setup a Resource to the Confluence database in Scriptrunner and pull the details from there.

There's a good description on how to get started here.

Pete Singleton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 31, 2023

Thanks, I looked into that but the connection fails for some reason.  

Pete Singleton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 31, 2023

Screenshot 2023-03-31 152156.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.10
TAGS
AUG Leaders

Atlassian Community Events