Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Can we automatically update a custom field on a issue which is being linked from another issue

Hi Team, 

We are having Technical Specific Design (TSD's) in Jira which is having custom field called release, when we link Tasks we need that release to be automatically updated for that Tasks, once done we also want to make that field non editable.

 

Let me know if this can achieved through any plug-ins?

 

Thanks,

Vijay 

1 answer

Where is the value for Release field coming from? task you linked? if I understood it correctly, you are linking a Task to another issue and upon linking, you want to update the release field to be updated with its value from linked issue? Is that what it is? 

Do you have script runner or Jira Workflow toolbox plugin or any other scripting plugin?

Easiest way is to link the Task on a transition and then on the postfunction you can put a script on the postfunction that will update the value of the Custom field. 

Jira workflow toolbox plugin has build-in postfunctions that update the fields on linked issue.

TSD is having release value , yes you are right. I need TSD release value should be mirrored on Task when they link.

 

I did get that Post function, did not get this 'link the Task on a transition', does this require any plug-in as I am unable to see in the default postfunctions as it is Jira On premise version.

 

Thanks,

Vijay 

I don't think there is any post function by default allows that. As I said you have go for some plugin either something like jira workflow Toolbox,  bob swift Create on Transition or script runner.

Agreed. I would like with Script runner, did not see any docs or links referencing the same. Do you have any info ?

 

Thanks,

Vijay 

Hi @M Vijay Kumar ,

Maybe you could use Calculated Date-Time Field from JIRA Workflow Toolbox in your tasks' view screen. You could create a Calculated Date-Time Field called Mirrored Release which automatically mirrors the value of the main linked issue. This field is not editable.

You should use a configuration like this one:

mirrored_release.png

I'm assuming that Release field is a Date Picker field, but we can this same solution with any other type of field.

The expression used in this example is:

first(fieldValue({nnnnn}, linkedIssues()))

replacing nnnnn with the field code of Release. We can also select a particular linked issue using any filtering criteria. If you need help for doing it, give me more details, and I will give you the exact configuration required.

Regards,

Fidel

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

223 views 2 1
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