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,556,677
Community Members
 
Community Events
184
Community Groups

Set value of custom field based on value on Epic

When creating an issue I want to set the default value for a custom field to be the same as that on the Epic from which the issue is being created. I still want the user to be able to change the selection in the creation screen, so do not want to override the selection via automation at the point the issue is created.

The field in question is called "Work Type" (customfield_10435).

I have Jira Software (Cloud) and ScriptRunner. I think I should be able to do it via a Behaviour in ScriptRunner, but all of the support articles I come across are for Jira Server/Data Centre and the behaviours work differently.

I would welcome suggestions.

 

2 answers

I still haven't found an answer to this and it's quite a big step backwards for us not to be able to achieve this in Jira Cloud (additional unecessary toil). I'm sure that there must be a fairly straightforward solution to this so would appreciate any other ideas from the community.

0 votes
Himanshi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 24, 2023

Hello @Graham Meinke , 

Welcome to community!

There are some discussions around a similar use case on : https://community.atlassian.com/t5/Jira-questions/Set-assignee-based-on-custom-field-value/qaq-p/283311

A few scripts have been discussed , you can consider going through and give a try to the script mentioned after tweaking it a little with your requirement. 

I am not sure how much it would help, but thought it's worth to share. 

Have a great day !

Thanks Himanshi.

Unfortunately that thread only covers setting a value based on another value on the same issue. I'm specifically looking to get the value from the associated Epic and then set that same value on the Issue in Epic.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events