Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

how to make condition when customer create an issue

how to create condition when customer make an issue its possible to make only sub-bug and question type issue?

2 answers

0 votes
John Funk Community Leader May 25, 2020

Hi @Виктория ,

You can create a Validator on the Create transition that the Issue Type must be one of those two.

@John Funk Hello, could you show me it on printsreen?
and shall I make this validator on every workflow except this two types?
Screen Shot 2020-05-26 at 10.05.28.png

John Funk Community Leader May 26, 2020

Ah, you have the Server version. 

Use the Regular Expression Check and place your code in there to check that the Issue type is Sub-bug or the issue type is Question. 

@John Funk could you help me with code?

anyway Regular Expression Check doesn't`t give me ability to choose issue type for checking.
ANd what I read in the internet.. its all not working for this task.
I found ScriptRunner code... but its forbid to make any sub-task for any role in jira 😬

John Funk Community Leader May 28, 2020

Try using: == "sub-bug" || == "question"

Be sure to use the right case for the actual issue type names. 

Like Виктория likes this

I can't understand how only using this code I can forbid create all issues type except sub-bug and question only for user role = customer.

customer should be possible create only sub-bug and question.

Also I can't find in Field to be checked: "roles" of creator or "reporter"

Screen Shot 2020-05-29 at 11.23.51.png

John Funk Community Leader May 29, 2020

Ah, you are using JSU - I missed that earlier. My answer was for use with the JWME add-on. 

You should probably contact Support at JSU to get help with the syntax. Sorry. 

I'm not quite sure what you need exactly.

You could simply use an Issue Type Scheme that only includes these issue types in the project if you only need Sub-Bug and Question.

An option would be to use a transition on the parent issue that links to the same status and creates a linked issue with the required type – you could simulate a Create Issue screen by using the Transition screen and some custom fields that are only used to copy the values to the new issue. On that transition you could also add User Is In Roles or User Is In Group conditions if you need them.

Sadly, JSU does not have a User Group Validator or something like it yet, which is necessary to check the issue on the create transition.


You'll find more information on the create linked issue transition in our documentation:

Also our helpdesk is always open if you need JSU-specific support:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

55 views 0 3
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