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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Update field in external tool using ScriptRunner Cloud

Callum Carlile Community Leader Oct 05, 2020

Hi all,

I'm using ScriptRunner for Jira Cloud, and am wanting to update a field in an external tool when a Jira field is updated.

Each Jira issue is given a Custom field A value upon creation, a unique ID matching to a corresponding field with the same ID in the external system, and Custom field B, a single-select list field which is also present in the external system, which is given a value at some point during the workflow.

When Custom field B's value is changed in Jira, I would like a script to run which finds the task in the external system with the same unique ID in Custom field A, and copies across/updates the value given to Custom Field B.

My knowledge on scripting/ScriptRunner is very minimal, so any help would be greatly appreciated!

1 answer

1 accepted

1 vote
Answer accepted

Hi Callum,

Thank you for your response.

I can confirm that with ScriptRunner with Jira Cloud that it is possible ti write scripts which interact with external systems and you can see further information on how to do this in the Knowledge Base Article here which explains ways to understand how the external third party API works.

You would then write a script configured as a Script Listener to run on the Issue Created event and your script would then have some logic in it to check if Custom Field A had specific value using an If statement and if it did then it would have some logic to call the external system and to update the value in custom field A.

I can confirm we have the example in the documentation here which shows how to call Slack and is an example of calling an external API that you can use as a reference as well as the examples here and here which show how to update fields on an issue that can be used as a reference to help you create the script that you require.

I hope this information helps.



Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

227 views 1 6
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