Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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.
March 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 Champion
March 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.
March 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.
March 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