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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Cloud: PullingWorking with the contents of a scripted field Edited

I have a post function that will create a subtask. I would like to use the value of a scripted field in the summary of the subtask.

  • How can we pull that value in the Scriptrunner "Create subtask" post function?
  • Use the field in a JQL?

1 answer

1 accepted

0 votes
Answer accepted

Hi Michah,

I can confirm that currently that it is not possible to search in JQL for the values of Scripted Fields provided by ScriptRunner for Jira Cloud as this currently not a feature that we provide.

We can, however, confirm that we do have this on our roadmap as a feature request here and I would ask you to vote on this if this something that you are interested in so that our development team can see this and consider this as a feature to be added in future.

Also, I can confirm that Scripted Fields are calculated when an issue is loaded in Jira cloud and are a special field type rather than a standard custom field type like in Jira server. 

The reason for this is due to the API's that Atlassian provided being different between Jira Server and Jira Cloud.

This means that Scripted Fields are only designed to be viewed on issues and cannot be used inside of other scripts.

If you need to use these values inside of other scripts then you will need to use a Script Listener to calculate the value into a standard custom field on an Issue Updated event similar to the example we have here as this will then allow the value to be saved inside a standard custom field that can be used in other scripts.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

175 views 2 9
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