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,558,900
Community Members
 
Community Events
184
Community Groups

I am trying to create a rule that searches another project and links any issues found in that search

I am trying to create a rule that searches another project and links any issues found in that search to the trigger issue.

Also doing similar rules that pulls matching field data from one project and adds it to another projects issues field.

I don't see any rules or info on pulling data from another project to populate the current project.

 

This rule is ran from a different project than CSONE.

 

Screen Shot 2021-01-06 at 6.28.10 PM.png

3 answers

1 accepted

0 votes
Answer accepted
Tom Williams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 07, 2021 • edited

Hi @Allen Culpepper 

The "Related Issue Condition" you are using only checks already linked issues on the trigger issue. 

What you need to do is run the rule from the trigger issue, perform a JQL to return the set of issues you want to link, and then perform the action on those issues returned in the JQL. 

Using a Branch Rule with "type of related issues" set to JQL and adding all projects you wish to include in the "Rule restricted to projects" field should work for you. 

Mocked it up for you below. 

Screenshot 2021-01-07 091715.png

Hope this helps. 

Tom. 

That worked thank you Tom!

 

Would I follow the same logic to pull a field value from the CSONE project over into my other project using smart values? I am on server version so not sure if that smart value is available. {{issue.custom_field_name}}

Tom Williams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 08, 2021

Great. @Allen Culpepper I'd appreciate it if you could mark this as an accepted answer. 

1 vote
John
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 06, 2021

Hi @al ,

You need to setup the rule as a global automation. You can change the scope of the automation in the rule details to multi-project or global.
Screen Shot 2021-01-07 at 4.40.06 pm.png

Please be aware that unlike project rules there are monthly limits on how many times your global/cross project rules you can run. The limits will depend on your Jira plan (Free, Standard or Premium). You can read a bit more about usage and limits here https://support.atlassian.com/jira-software-cloud/docs/view-your-usage/

And you can compare the different limits for each Jira plan here
https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/

Hope that helps!

- John

It’s actually already setup as global, it’s just that my team won’t leave it that way when I’m editing it so they change it then change back to global so I can run it. It shows the issue trigger as being from the CSONE project for both (same issue key) and never the project it’s ran from. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 07, 2021

Hi @Allen Culpepper 

Are you saying the people on the team are editing your global rule, changing it back to project-specific?

If so, this could be resolved with permissions.  Make the rule global, and ensure you manage who has site-admin permissions.  That will limit who can edit the global rules.

If this is not the case, would you please clarify the problem?  Thanks!

Best regards,
Bill

Hi Bill,

 

No it's not an issue, its just that we don't have admin rights and they lock us down so I have to ask for permission each time. :)

 

Thanks.

0 votes
Tom Williams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 08, 2021

I'd need a bit more info to be sure what I'm suggesting will work for this....

Would I follow the same logic to pull a field value from the CSONE project over into my other project using smart values? I am on server version so not sure if that smart value is available. {{issue.custom_field_name}}

Sounds like you'd have a many to one ratio so is the value from {{issue.custom_field_name}} common on all the linked issues? If not you'd end up with the value from the latest linked issue in whatever order the rule runs. 

 

I've not found a way to copy field values across without running a linked issue trigger rule. So it will need to be an automated follow-on rule that runs after the manual trigger. 

Had a go a mocking it for you...

Screenshot 2021-01-08 094910.png

Yes this is what I need! It only should be one matching. Thanks so much.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events