Hi, I have a question on if it is possible to sync between the releases from two JIRA project instance with "version update" automation
Example:
Project A fix version - 1, 2, 3, 4
Project B fix version - 1, 2, 3, 4
If I change project B fix version to 1, 2, 3, 5
I want to see project A fix version to 1, 2, 3, 5
Thanks,
Garret
I believe there should be two efficient methods to achieve this:
Hope you get it working.
Thanks
Majid
You can use Jira's built-in automation to sync the fix versions between two projects. Here's how to set up an automation rule to achieve this:
project = "Project B" AND fixVersion ! = "1, 2, 3, 4"
This automation rule will periodically check for changes in fix versions in Project B and update the corresponding issues in Project A. Please note that this approach may not be real-time and will depend on the frequency of the "Scheduled" trigger.
Hope this helps you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oday,
Thank you for the response. I didn't explain this right, what I am looking for is to sync the releases between two projects, showing below:
Our project's release mirror the other project's release, I want to make sure if they were to make a change of the release in their project, it also reflect in our project.
Thanks,
Garret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garret Zhang ,
It's Okay, I defined the steps you want to do:
To sync releases (versions) between two projects, you can set up an automation rule :
This automation rule will listen for version changes in the source project (Project B) and update the corresponding versions in the target project (Project A) accordingly. Please note that you'll need to configure a webhook in the source project's settings to send events to this automation rule.
Hops this going to help now :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oday,
This sounds like exactly what I need to do, I'll do some more diggings on Monday. Much appreciated it!
Thanks,
Garret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garret Zhang Nice to hear that please update me here with the results or any other questions :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oday Rafeh
I am currently working on this and have few questions.
To setup the source webhook, I went to "webhook" in system setting. From there I created a webhook listener, is that the source of the webhook? I assume the listener is looking for any events related to version updates from the entire JIRA website? If this is not right, could you let me know how to setup the source webhook? I also don't see any webhook in project setting. Please provide guideline here.
Assuming the listener I set previous is right, now I am setting up the automation piece to pick up the incoming webhook. I am setting this automation as global automation.
1. My trigger is incoming webhook. (I take the URL from the trigger and paste it to the webhook in the source webhook, is that right?), please provide guideline here.
2. Follow by if project key = NPE.
3. Then brunch for.... (I only see issue fixed in version, isn't this is only for issues update, not fix version in projects?), please provide guideline here.
4. Then I setup new action to edit fix version.... (In here I also only see edit issue, not edit fix version in project), please provide guideline here as well.
I think I am close, and I appreciate the support!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garret Zhang ,
you are on the right track!
To set up the source webhook:
Go to the project settings of the source project (Project B) and click on "Webhooks" in the left-hand menu.
Click on "Create a webhook" and choose the events you want to trigger the webhook (in this case, version changes).
Copy the webhook URL provided and use it as the trigger in your automation rule.
Now, moving on to your automation rule:
In the trigger section, select "Webhook" and paste the webhook URL from the source project.
For the condition, set it to "Issue fields condition" and select "Project key" as the field. Set the value to "NPE" to ensure that the rule only applies to changes in that project.
For the branch rule, use the "Related issues" action and select "Project A" as the project. Specify the version name from the webhook payload to find the corresponding version in Project A.
To edit the fixed version in Project A, use the "Edit issue" action. Set the project to Project A, and use the "Advanced issue search" option to find the issue(s) that correspond to the updated version from Project B.
In the "Edit issue" action, set the "Fix version/s" field to the updated version(s) from Project B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oday Rafeh
Thank you for the response, I finally got time to come back to this. I am very close and got stuck on the very last part:
"To edit the fixed version in Project A, use the "Edit issue" action. Set the project to Project A"
Could you help me verify setting Project to OIM is correct? (OIM is the target project where fix version will need to be updated) Source project is NPE.
"use the "Advanced issue search" option to find the issue(s) that correspond to the updated version from Project B."
I am unsure on what to write in the "Advanced issue search" section.
"In the "Edit issue" action, set the "Fix version/s" field to the updated version(s) from Project B."
could you also verify if this is right? (Issues - from NPE project - look up fix version - name)
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you use a webhook instead of using the built-in "version changed" trigger, as described here: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Automation-Create-a-version-in-another-project/qaq-p/1451018?anon_like=1452317
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.