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

Use Keywords to automatically change comment visibility of Service Desk comments

Hello there,

 

im starting to get used to scripting with behaviours. At the moment i have following problem:

I have 2 jira projects, 1 is a service desk project. im using a sync to keep both projects up to date. The only problem i have is that whenever a new comment is added, it gets synced an internal comment into my service desk project.

Now i thought of maybe using a keyword to decide which comment stays internal and which comment is public. 

 

So i thought of something like:

Pseudocode:

if(new comment is added to service desk issue) {

if(!comment contains keyword) set comment to public
}

i would be thankful for any help or if someone knows a workaround, that would be great aswell!

 

thank you very miuch

 

1 answer

You could add a recursive transition (from all statuses to all statuses) and with the behaviour plugin or custom validator force the commentary to be set. You could name this transition "Public Commentary" and that's it, all commentaries coming from this transition could be synced to the another project marking them as public.

Suggest an answer

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

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

184 views 2 9
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