JIRA Confluence synchronization

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

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.

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

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 ?

 

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

389 views 17 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you