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

Accessing story and Bugs from API

We are trying to integrate Pega with Jira and have an issue as our Jira is configured with Spaces and special characters in the issue type field .

 

Pega uses the following url to fetch the data

 

<<local jira url>/?SearchQuery=Project='<<project name>>' AND Version =$$$$$ and issue type = <<Issue type>>

 

for us issue type has values like Bug / Defect and User Story.

 

Options tried :

trying sending them in single quotes ,replacing space with %20 and still it didnt work. any help on this

URL works fine and the same values when we remove the issue type parameter - few of the issue types had Bug / Defect  few have User Story 

1 answer

0 votes
Neil Atlassian Team Dec 12, 2019

@Manasa Ambati  - are you using the GET /rest/api/2/search method?

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/search-search

I would try that, using the jql parameter and passing in URL-encoded JQL query.

Suggest an answer

Log in or Sign up to answer
TAGS

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