Forums

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

A very simple trigger doesn't work on issue creation

Bogomil Shopov October 14, 2021

Hello, 

I have the following automation scenario:

 

When: Value (Issue Type) change for Create Issue

If: Issue type equals Bug

then: Description = test

 

My goal is to set a basic template when the user changes the Issue type from a Story to a Bug before the issue is created.

 

What am I doing wrong?

2 answers

1 accepted

1 vote
Answer accepted
Alex Koxaras -Relational-
Community Champion
October 14, 2021

Hi @Bogomil Shopov and welcome to the community!

The thing is that Jira do not see the initial selection of issue type as a change. Therefore the rule will not trigger. What I would do is just to:

  • On issue create
  • If issue type = bug
    • Then do something

Hope I make myself clear. Let me know if you need any clarifications.

Bogomil Shopov October 14, 2021

Alex, thanks! I tried this, based on your  instructions, but the result is the same:

Screenshot 2021-10-14 095319.png

Alex Koxaras -Relational-
Community Champion
October 14, 2021

@Bogomil Shopov if that's ok with you, kindly try to reply to the thread I've created, to keep the conversation consistent.

Now, your rule is ok. Try refreshing the page, and take a look at the audit log. It should mark "Success".

Bogomil Shopov October 14, 2021

I see the success, but I need the template(field change) to appear before hitting the create button, so the person who adds the bug to be able to fill-in specific details.

Alex Koxaras -Relational-
Community Champion
October 14, 2021

Aha!

So what you need is the user to have different create screen fields, for the (at least) two different issue types, right?

E.g. for the task (I'll use the Epic issue type for demonstration purposes)

fields epics.png

and for the bug

fields bug.png

 

If that's the case, then you need two create at least two different screen schemes, one foe each issue type. For each screen scheme you have to create one screen (at least) which you will then associate to the create issue operation. You can read more here https://support.atlassian.com/jira-cloud-administration/docs/manage-issue-screens/

Let me know if that's what you wanted to do.

Like Bill Sheboy likes this
0 votes
Bogomil Shopov October 14, 2021

Alex, thanks! I tried this, based on your  instructions, but the result is the same:

Screenshot 2021-10-14 095319.png

Joy Chiu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2021

Hi @Bogomil Shopov ,

 

Can you show me the audit log after you run this rule?

 

Cheers,

Joy [Automation for Jira]

Suggest an answer

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

Atlassian Community Events