Forums

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

JIRA Confluence synchronization

Haris Becic June 7, 2016

Hello,

I would like to know if it is possible to create the issue in Confluence for some project and then this issue appears in this project with label "confluence" and is assigned automatically to responsible user? (because of label confluence) 

thanks

2 answers

0 votes
Haris Becic June 8, 2016

Hi Boris,

 

for example if someone wants to create the issue that is relevant for Confluence but he wants to have this issue in the issue list in JIRA Project. This picture shows how it looks like in Confluence. If i choose for example "Project 1" and then i go to JIRA project this issue that i created should be in the issue list of this project with label confluence. 





image2016-6-8 12:39:22.png

0 votes
Boris Georgiev [Appfire]
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.
June 8, 2016

Hi Haris,

Would you elaborate on "create the issue in Confluence" and also give a step by step description of what's the expected user experience ?

I would say that you'll be able to achieve that using Script Runner for Confluence but I'm not sure I get the whole picture.

Haris Becic June 8, 2016

Hi Boris,

 

for example if someone wants to create the issue that is relevant for Confluence but he wants to have this issue in the issue list in JIRA Project. This picture shows how it looks like in Confluence. If i choose for example "Project 1" and then i go to JIRA project this issue that i created should be in the issue list of this project with label confluence. 





image2016-6-8 12:39:22.png

Boris Georgiev [Appfire]
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.
June 8, 2016

What you're trying to achieve does not seem to be possible or at least it will not be easy.

Here're some ideas you might want to consider:

  1. Make Labels required field, so it will appear on the screen in confluence and the user will need to fill it in - of course this means that Labels will also be required when creating issues in JIRA and also the user might not put the right label
  2. Create an issue listener (using Script Runner) which will update the issue and add confluence label whenever an issue is linked to a Confluence page ("Remote Link" field is updated) - the downside here is that any issue linked to confluence will have that label and not only the issues created from Confluence.
  3. Implement a custom web item with Script Runner which will bring a dialog which will require the issue parameters like summary, issue type etc.. and then create the issue in JIRA using the rest api in a way similar to that also adding the right label. Then the code can insert a JIRA issue macro in the same page. - This approach is quite complex and also will have slightly different experience as the user will have to add issues while not in edit mode.
  4. Create a confluence event listener which will listen to page update events and will update any issues referenced by the JIRA Issues macro, adding the right label

I have one additional question - why do you need to add label for issues created from Confluence ?

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events