Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate updating field in one project based on value in another

Nicole Baratta
Contributor
March 15, 2022

It's possible this is not something I can do, but I thought I'd ask.

The thing to know:

  1. Only a select set of folks have admin access to our Jira instance and I am not one of them, so I cannot set an automation rule to affect more than one project at a time (If I could this would be SUPER EASY)

Details:

  1. There are two projects: PROJA and PROJB  
  2. PROJB Jiras can be linked to PROJA Jiras as 'documents' (meaning the work in PROJB is the documentation work for PROJA)

What I'm trying to do:

  1. PROJA-123 is linked to PROJB-567 as 'documents'
  2. Set an automation rule that checks linked issues on a schedule and if the Assignee in PROJA-123 does not equal the Writer in PROJB-567 then set the Writer in PROJB-567 to the Assignee from PROJA-123

Where I started:

  1. I wrote a query to pull all Jiras with documentation project links:
    project = PROJB AND issueFunction in 
    linkedIssuesOf('project = PROJA AND
    resolution = Unresolved',"is documented by")
  2. Then I was gonna have the automation run daily to do the comparison of PROJA.Writer to PROJB.Assignee but that's where I got caught.

Hopefully, I didn't confuse things too much and provided enough info.

1 answer

0 votes
Nithaya
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2022

Hi @Nicole Baratta

I am Nithaya from the Automation team here at Atlassian.

If you don't have permissions in PROJB, you won't be able to query in this project. Any rule created inside a project will be scoped by this project including JQL queries.

 

Cheers,

Nithaya.

Nicole Baratta
Contributor
March 17, 2022

I have permissions to both projects, but not to create a rule that affects more than one project at a time.

Suggest an answer

Log in or Sign up to answer