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,298,216
Community Members
 
Community Events
165
Community Groups

Is there a way to automatically copy version from one project to another?

So a bunch of projects share the same release train.  I would like to be able to create versions in one main project and have those versions copied or automatically created in the other projects.

Is there a way to do that?

4 answers

1 accepted

1 vote
Answer accepted

Definitely check out the Version Sync app for Jira Cloud.

Hi @Siree , hi @Aron Gombas _Midori_ ,

I am the product manager of Version Sync for Jira

It's indeed possible to automatically copy versions from one project to others. 

Don't hesitate to get in touch with our support, if you have questions or feedback.

Hi @Siree 

Yes, you may do that with a global / multiple project rule.

For example, let say when a version is created on Project A that you want to also create it in Project B, you would use:

  • Create a global rule in Project A, selecting Projects A and B as included
  • Trigger: Version created
  • Action: Create version
    • Copy the name and/or release date from the triggering version.  At this time, these are the only fields which can be set for a version with automation rules.
    • Under more options, select to create the version in Project B

 

Best regards,

Bill

I tried that but got an error saying it has to be linked to an issue.

I tried the rule I suggested and it worked for me.  Would you please post the error you are seeing, from creating the rule or in the audit log when running the rule?

@Siree @Bill Sheboy  Sorry I'm late to the party - which platforms are you on? I'm trying to do this on cloud. Thanks.

Hi @Kelly Arrey 

I recall that I tried this with Jira Cloud and it worked.

Kind regards,
Bill

Thanks @Bill Sheboy, wish me luck!

Like Bill Sheboy likes this

Hi everyone! @Bill Sheboy should look like this? It's not working :(

image.png
image.png

Hi @Ignacio Vera -- Welcome to the Atlassian Community!

What do you observe happening?  And, please post an image of the audit log details as that may provide context for an problems.

Kind regards,
Bill

No matter what I change, only updated the source project (where version is created)
image.png

Would you please expand to show the details of the audit log for that rule execution, and post that image?

And...please note because this is a multi-project rule, creating versions in either project could trigger the rule.  Please consider if that is what you want, and what "stopping condition" you need to help prevent rule looping.

Also, with Bill's help, I have a working example posted below.

If anyone use Script Runner, you can create a Version listener. Have found this was like find a treasure
image.png

Can anyone post a screenshot on how this looks?  I am trying in cloud and am doing something wrong as it will not work.  It worked once and was posting wrong data, when i tried to do it again, not won't create version as expected.

Hi Karri, here's what's working for me on Jira Cloud:
2022-02-23_11h11_19.png

Like Bill Sheboy likes this

Additional details in case this helps ... 
2022-02-23_11h12_52.png2022-02-23_11h13_24.png

@Kelly Arrey why do you have two And Creation Verision where the key is verision.name? 

Hi @Vin Nguyen , I'm using multiple "And: Create versions" to create new versions in multiple projects.  There may be a better way, and I'm certainly open to suggestion. Hope this helps!

Kel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,833 views 37 48
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