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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

A very simple trigger doesn't work on issue creation

Edited

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

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.

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

Screenshot 2021-10-14 095319.png

@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".

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.

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

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 Oct 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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

763 views 17 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you