Forums

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

Transition Jira issues to a new status when a page's status changes

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.
April 15, 2025

When a page's status changes to the status you specify (i kept the ootb page statuses)

So when the page status changes to "Rough Draft", I want the linked Jira issue (Confluence page is linked from the Jira issue) to tranistion.

This to status draft.

In Confluence automation there is a ootb brach option for Jira issues. this requires to set a JQL clause to find the issue, but it can find multiple issues.

I don't want all the found issues to transition, only the linked issue(s), here is the problem.

Is there anyone to help or has an idea.

Automation rule:

Screenshot 2025-04-15 at 17.13.20.pngScreenshot 2025-04-15 at 17.13.34.pngScreenshot 2025-04-15 at 17.13.40.png

 

Audit log:

Screenshot 2025-04-15 at 17.19.55.pngScreenshot 2025-04-15 at 17.20.21.png 

2 answers

1 accepted

1 vote
Answer accepted
Darryl Lee
Community Champion
April 16, 2025

Hi @Marc - Devoteam - can I suggest this endpoint:

 

That should return the Jira Issues in the breadcrumbs.

(Although there are issues with the Jira Issues breadcrumb if issues are later unlinked from Confluence pages:

Fun stuff!)

This endpoint is (of course) poorly documented. I think it's an old server endpoint, in fact. 

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.
April 16, 2025

Hi @Darryl Lee 

Thanks, I will look into this.

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.
April 17, 2025

HI @Darryl Lee 

I found a solution your pointers helped.

I will write an article on this on the community.

Thanks.

Like # people like this
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.
April 18, 2025
Like # people like this
0 votes
Kelly Arrey
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.
April 16, 2025

Hi @Marc - Devoteam,

I found this - thought you might want to vote for the Suggestion:

Just me thinking out loud, but can you come at this from another angle? Parse the linked ticket number from the Confluence page and than pass it to Jira? This page seems to suggest that you could transition the Jira ticket in a Confluence rule?

HTH, 

Kel

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.
April 16, 2025

Hi @Kelly Arrey 

Thank you.

I know this, this is also already in my automation, but the issue is you need to provide a JQL clause in this action.

This finds issues based on the JQL not the issue related to the Confluence you change. So then all actions set will act on all found issues, not just the issue linked with the Confluence page.

Also the Jira issue is not set on the page vai a macro or smart link, but the Confluence page is linked from the Jira issue.

I don't use a jira issue macro on the page as the page is also auto created based on the linked Jira issue on creation.

My issues is that when a Jira issue has a linked Confluence page, the Confluence page shows the linked Jira issue in the breadcrumbs section on the page.

Screenshot 2025-04-16 at 15.00.25.png

I only want this issues or issues to be impacted, not all the issues found in the JQL provided in the Jira branch on the Confluence rule

Like Kelly Arrey likes this
Kelly Arrey
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.
April 16, 2025

Hi @Marc - Devoteam, yup I get what you're trying to do. Sorry I don't have any more ideas. 

Like Marc - Devoteam likes this
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.
April 16, 2025

Hi @Kelly Arrey 

The body of the Confluence page doesn't show the Jira issue info based on  how it's linked via a Jira issue.

I don't want to be forced to but a macro or smart-link in the page, otherwise this automation option between the products serves no use in my opinion.

but thanks anyway for sharing your thoughts

Like Kelly Arrey likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events