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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Automation is not working in JSD Customer Portal

Hello Atlassian Team, 

I'm am having trouble getting automation rules to work in JSD. I am trying to create an automated rule that automatically generates a comment when an issue is created. I'm not sure if this is an issue of how I have set up my automated rules or if it is an internal issue.

Here is what I have my setup currently. I set the "when" condition to "issue created", the "if" condition set to "status = all", "reporter = all", "priority = all", and "issue type = computer request" (a request type that I created for my team). I have created multiple tickets under the "

Currently, we have a live production of JSD and Confluence, but we have not rolled out JSD entirely and it is still in a testing phase. So we have a test server for JSD and this is where the issue persists. So it may be an issue within our test environment, but I'm not completely sure.

Any help will be much appreciated! Thank you! 

5 answers

0 votes
Steven Behnke Community Leader Jan 20, 2016

Can you provide the JQL your wrote for your IF condition?

issuetype = "Computer Request " AND status = Open

From what I can tell, the JQL syntax is correct. But I may be wrong. Thanks for the response, Steven!

I also tried changing the syntax to this:

issuetype = "Computer Request " AND status = Open AND reporter = EMPTY AND priority = EMPTY

This did not generate anything. So I tried to point the "reporter" directly to me, since I have been the one creating the tickets as a test using this line:

issuetype = "Computer Request " AND status = Open AND reporter = philbert32 AND priority = EMPTY

And still nothing. Also I'm not sure how to make reporter and priority point to "ALL" instead of "EMPTY". JQL advance search does not accept "ALL" as proper syntax.

I put my original answer in the wrong place.  Oops!

Hi @Joseph Orellana

I was looking into an Automation issue we're having and came across this post.  That's why the late reply.  Maybe it could help someone else, though.

Just a thought, but maybe "Computer Request" not an issuetype but a request type

You did say: "issue type = computer request" (a request type that I created for my team).

If that's the case, then you'd need to use "Customer request type" = "Computer Request".

You search by ALL in the Advanced/JQL view by not including the field in the JQL.  By doing that, it won't filter out any reporter or priority or whatever other field you want to include all values for.

It's hard to tell which order these comments (not answers) occur in, but if your initial JQL was:

issuetype = "Computer Request " AND status = Open

Then it looked fine to me unless:

  • it was a request type instead of issue type
  • or it could be the space after Request in "Computer Request "

Also, I've found that when you use the When of Issue created, you don't have to specify that status = Open, it's implied, and depending on the order of when the automation happens in regards to the status transitioning from create to Open, the status at the time of creation might not yet be Open.

In summary, I think your JQL should look like this:

"Customer request type" = "Computer Request"

I'm not sure what the rest of your automation rule looks like, so I couldn't say if it's the cause or not.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

170 views 0 4
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