Watcher automation from Confluence to Jira

Sherry Nightingale August 23, 2024

Hi

I have an automation rule from Confluence to Jira that states:

When the status is changed on a Confluence page create a task in a Jira project and auto populate a required set amount of fields

I've added a 'Then: add an action > and manage watchers and included the names but when I run the test the names aren't added as watchers

They need to be added as watchers when the ticket is created on status change in Confluence

Any guidance greatly appreciated

3 answers

0 votes
Sherry Nightingale August 27, 2024

@Marc - Devoteam 

Just to clarify - are you saying that I should create an automation rule in Jira that when a ticket is created automatically from a Confluence automation rule that watchers are added?

Thanks

Sherry 

Marc - Devoteam
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.
August 28, 2024

Hi @Sherry Nightingale 

Correct, as the add watchers option for Jira issues only exists in automation on Jira.

Like Sherry Nightingale likes this
Sherry Nightingale August 28, 2024

Thanks @Marc - Devoteam 

How would I set / create this automation rule - what would I need to tell it?

Trigger > when: issue created

Then: Edit issue fields

And: Add watchers

????

But how can I get this rule to run when certain tasks are created via the Confluence automation rule?

 

Marc - Devoteam
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.
August 28, 2024

Hi @Sherry Nightingale 

Add conditions, like;

- only in project

- type of issue

- reporter equals

- creator equals

- other differentiations that are set in the created issue from the automation in confluence, labels, components, custom field values, etc...

Choose the ones that apply.

Sherry Nightingale August 29, 2024

The only identifier that I can use in the Task is the Summary that has VIEW in it - if I used the Summary Field {{issue.summary}} VIEW would that work?

 

The automation rule would then look like:

When: Issue created

Then: Edit issue fields > Summary {{issue.summary}} VIEW

And: Add Watchers

 

Thanks

Sherry 

Sherry Nightingale August 29, 2024

@Marc - Devoteam 

I tried with {{issue.summary}} VIEW but it only added VIEW in to the Summary

I then tried {{issue.summary VIEW}} and it worked :-)

Thanks for your time and support

Like Marc - Devoteam likes this
0 votes
Sherry Nightingale August 27, 2024

Confluence Automation Rule.PNG

Marc - Devoteam
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.
August 29, 2024

Hi @Sherry Nightingale 

That would work, but in your rule in Confluence, I also see the field Business Unit, Strict Embargo, etc..

If any of these fields are mandatory on issue creation, you could use these as well. or if they need to contain a value.

Sherry Nightingale August 29, 2024

@Marc - Devoteam 

I looked at all of the fields and unfortunately the values aren't only used for VIEW so I couldn't use them as the identifier - at the moment the Summary field has VIEW in it - in the future this may change but for now i'm happy to have this in the rule :-)

Like Marc - Devoteam likes this
0 votes
Marc - Devoteam
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.
August 23, 2024

Hi @Sherry Nightingale 

Can you share your automation rule as a screenshot, this helps members to look at your configuration and maybe see the issue directly.

Sherry Nightingale August 27, 2024

@Marc - Devoteam 

I've provided the confluence automation rule screen grab

Marc - Devoteam
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.
August 27, 2024

Hi @Sherry Nightingale 

The add watchers in Confluence automation, you can add or remove watchers from pages or blog post.

I think the only solution is to create in Jira that check on issues created in the project and add the watchers.

 

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events