Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add new values to a Jira custom field from Confluence page

Edited

Hi all!

I have a task to dynamiclly add new values to a custom field in Jira. Values should be taken from a Confluence page. How can I achieve this? 

I have a ScriptRunner for Jira and for Confluence. I use JIRA Server but wasn't able to pick such option during question creation.

1 answer

Hi Ksenia,

You can use this script (Link to Confluence From Jira) to send REST requests from Jira to Confluence without the need to handle authentication.

To get a Confluence page, you can send a GET request to the following endpoint: /rest/api/content

As to dynamically updating the custom field value, there are various ways you can do this with ScriptRunner for Jira either with custom post-function, listeners, and more. There are various examples online.

Cheers,
Helmy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

822 views 25 28
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