Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Automation that Edits a Jira Issue...but which Jira Issue?

Kevin Christmann March 29, 2024

I am trying to write a Confluence automation that does a bunch of stuff, but one of the very simple things I also want it to do is Edit an issue in Jira. 

How does the automation know which issue to edit? There is nowhere in the automation rule at all where it asks you what issue to edit?

Am I crazy?

See the rule below:

  1. Trigger = a manual trigger from a Confluence page (so there is no context for any Jira Issues)
  2. Next step = simply edit a jira Issue
    1. The dialog on the right offers you nowhere to tell it what Issue to edit. It says "Set values for fields on the issue". But I haven't told it what issue to actually edit.

 

2024-03-29_15-35-56.jpg

1 answer

1 accepted

2 votes
Answer accepted
Trev Angle
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2024

Hi, this is Trevor from the Confluence automation team. The 'Edit issue' action (in both Confluence and Jira) requires an issue to be present in the rule's context. Basically, some previous component in the rule needs to provide the issue. Confluence automation doesn't yet have any issue-based triggers, so the only way to get an issue in context is to use the 'related Jira issues' branch component to find the issues you want to edit. The same goes for 'Transition issue'.

We have plans to make these component dependencies more clear in the future, but one thing that may help you is keeping an eye on the "Compatible actions" category while building your rule. The 'Edit issue' action should be hidden from the compatible actions unless you are adding the action inside a 'related Jira issues' branch.

Kevin Christmann April 1, 2024

thank you so much for sharing that! I will see if I can get it to work as I need now that I have that informaton.

Suggest an answer

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

Atlassian Community Events