Forums

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

Jira macro automation

Nachikethas E March 8, 2023

I need to write a code for automatically taking all the Jira issues into confluence, but confluence already have a macro Jira filter in it. How can I call the macro through python?

2 answers

2 votes
Jens Schumacher - Released_so
Community Champion
March 8, 2023

Hi @Nachikethas E 

You will have to be a bit more specific. The filter in Confluence is dynamic, hence it will automatically be updated when the Jira issues are updated. 

What are you trying to achieve by using Python? 


Cheers,
Jens

Released.so - Release notes powered by Jira

Nachikethas E March 9, 2023

So, I am writing a script to update my consolidated report page.

The page needs Jira links, so how can I do it using python script.

Is there any way python script can take the particular macro and give parameters to it.

Jens Schumacher - Released_so
Community Champion
March 9, 2023

I believe you could achieve this by updating the content of the Confluence page, which also allows you to change the parameters used by the macro. 

Like Nachikethas E likes this
Nachikethas E March 13, 2023
0 votes
Rina Nir
Community Champion
March 9, 2023

Hello @Nachikethas E 

Potentially you could avoid writing a python script altogether.

Please check out the app Jira Snapshots for Confluence . I am the product manager for the app. From the feedback we are getting, one of the things that often comes up is this: People who wrote elaborated scripts to update Confluence pages with Jira data were happy to see that they can replace their scripts with Jira Snapshots.

Not only are these scripts tricky to maintain, they also tend to be "rigid" and limited. Jira Snapshots gives you more flexibility and control for less effort.

Rina


Nachikethas E March 13, 2023

Thank you @Rina Nir 

Suggest an answer

Log in or Sign up to answer