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

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
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,881 views 11 5
Join discussion

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